/* 주문완료 페이지 스타일 */
.order-info { display: none; border: 0px solid; padding: 1rem 1rem; margin-top: 30px; }

/* 배송주소록 (주문 페이지) */
.delivery-addressbook {
    margin-top: 8px;
}

.delivery-addressbook__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.btn_addressbook {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 13px;
    cursor: pointer;
}

.btn_addressbook:hover {
    background: #f5f5f5;
}

.btn_addressbook--danger {
    border-color: #f1b7b7;
    color: #c23030;
    background: #fff6f6;
}

.delivery-addressbook__default {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.delivery-addressbook__notice {
    margin-top: 6px;
    font-size: 12px;
    color: #777;
}

/* 결제 승인(Confirm) 상태 안내 */
#paymentConfirmBox { display: none; margin-top: 20px; padding: 14px 16px; border: 1px solid #e5e5e5; border-radius: 8px; background: #fafafa; }
#paymentConfirmMessage { margin: 0; font-size: 14px; line-height: 1.4; }
.btn-cardslip { display: none; }

/* 주문정보 조회 영역 */
.order-info-retry-btn { margin-top: 10px; }
.order-info-retry-btn.hidden { display: none; }

/* 주문정보 테이블 형식 레이아웃 */
.odr_list_item { display: flex; flex-direction: column; }
.odr_list_item > li { display: flex; width: 100%; }
.order-info-col-25 { width: 25%; display: inline-block; vertical-align: top; flex: 0 0 25%; max-width: 25%; min-width: 0; }
.order-info-col-50 { width: 50%; display: inline-block; vertical-align: top; flex: 0 0 50%; max-width: 50%; min-width: 0; }

/* 주문일자/총주문금액 행 레이아웃 */
.orderInfo_pay > ul.odr_list_item > li { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: nowrap; }
.orderInfo_pay > ul.odr_list_item > li > * { min-width: 0; }
.order-date-group,
.order-amount-group { display: flex; align-items: center; gap: 10px; }
.order-date-group .my_orderTitle,
.order-amount-group .my_orderTitle { margin-bottom: 0; margin-right: 0; }

/* 이 섹션에서는 sub.css의 고정 폭(tit=150px)으로 인해 컬럼이 줄바꿈되는 문제 방지 */
.order-info .orderInfo_pay .odr_list_item .tit { width: auto; padding-left: 0; }
.order-info .orderInfo_pay .odr_list_item .txt { margin-left: 0; }
.order-info-cursor { cursor: pointer; }
.order-info-hidden { display: none; }

/* 장바구니 수량 조정 모달 */
.cart-adjustment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.cart-adjustment-modal.is-open {
    display: block;
}

.cart-adjustment-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.cart-adjustment-modal__content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow-y: auto;
}

.cart-adjustment-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.cart-adjustment-modal__header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.cart-adjustment-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-adjustment-modal__close:hover {
    color: #333;
}

.cart-adjustment-modal__body {
    padding: 20px;
}

.cart-adjustment-modal__message {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.cart-adjustment-modal__list {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.cart-adjustment-modal__list li {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.cart-adjustment-modal__list li strong {
    color: #000;
    font-weight: bold;
}

.cart-adjustment-modal__max-qty {
    color: #856404;
    font-size: 13px;
}

.cart-adjustment-modal__footer {
    padding: 15px 20px;
    border-top: 1px solid #e5e5e5;
    text-align: right;
}

.cart-adjustment-modal__confirm {
    min-width: 80px;
}

/* 정산관리 페이지 스타일 */
.content-area {
    display: none;
}
.td-right {
    text-align: right;
}
.td-center {
    text-align: center;
}

/* 관리자 클레임/환불 큐 화면 공통 */
.mgnt-claims-page .card.custom-card {
    margin-block-end: 1.0rem;
}
.mgnt-claims-page .conn-detail-card .card-body {
    padding: 0.5rem !important;
}

/* 상품 전시 관리: 노출순서 중복 표시 */
.display-order-dup {
    border: 1px solid #dc3545 !important;
    background-color: #fff2f2;
}

/* 관리자 배송 설정 화면 */
.mgnt-delivery-settings-page .card.custom-card {
    margin-block-end: 1.0rem;
}
.mgnt-delivery-settings-page .conn-detail-card .card-body {
    padding: 0.5rem !important;
}
.mgnt-delivery-settings-page .my-4 {
    margin-bottom: 0.8rem !important;
}
.mgnt-delivery-settings-page .table thead tr th,
.mgnt-delivery-settings-page .table tbody tr td {
    text-align: center;
}

/* 관리자 상품목록 화면 */
.content-area {
    display: none;
}
.card.custom-card {
    margin-block-end: 1.0rem;
}
.conn-detail-card .card-body {
    padding: 0.5rem !important;
}
.my-4 {
    margin-bottom: 0.8rem !important;
}
.ifr-schema {
    width: 100%;
    height: 340px;
}
.custom-label {
    font-weight: bold;
}
.custom-input {
    border: 1px solid #f8fafc;
}
.custom-container {
    border: 1px solid #f8fafc;
    padding: 10px;
}
.red-text {
    color: red;
}
.search-condition td {
    padding: 0px;
}
.search-condition td * {
    border: 0px;
}
.td-center {
    text-align: center;
}
.td-right {
    text-align: right;
}
#orderByList li.srch-order:before {
    display: inline-block;
    vertical-align: middle;
    content: '';
    height: 100%;
}
#orderByList li {
    height: 38px;
    margin-right: 10px;
}
.srch-rowcnt {
    padding: .375rem 2.25rem .375rem .75rem;
}
.srch-order-deli {
    color: #d4d4d4;
}
.avatar.avatar-md {
    width: 2.2rem;
    height: 2.2rem;
}
.flex-fill-conts {
    padding-top: 0.360rem;
}
.flex-fill-conts .ti-circle-x,
.flex-fill-conts .btn-close {
    margin-left: 10px;
}
.table thead tr th {
    text-align: center !important;
}

/* 관리자 상품목록 - 전시 설정 컨트롤 */
.display-controls {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.display-controls__left {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.display-controls__label {
    font-weight: 600;
}
.display-controls__guide {
    font-size: 12px;
    color: #6c757d;
}

/* 관리자 카테고리 관리 화면 */
.category-search-card {
    display: none;
}

.category-row.level-1 td:nth-child(2) {
    background-color: #f3f6ff;
    font-weight: 600;
}

.category-row.level-2 td:nth-child(2) {
    background-color: #f8f9fb;
}

.category-row.level-3 td:nth-child(2) {
    background-color: #fcfcfd;
}

.category-tree-prefix {
    color: #9aa1a9;
    margin-right: 6px;
    font-family: monospace;
}

.category-toggle {
    cursor: pointer;
    margin-right: 6px;
    color: #6c757d;
}

.order-mode-banner {
    font-size: 0.85rem;
    color: #6c757d;
}

.order-move-btn {
    padding: 0.2rem 0.45rem;
    margin-left: 0.25rem;
}

.row-moved {
    box-shadow: inset 0 0 0 1px #d6e0ff;
    background-color: #f7f9ff;
}

/* =========================
 * 상품상세 Q&A 판매자 답변 영역
 * ========================= */
.qnaAnswerEditor {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
}

.qnaAnswerEditor__title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.qnaAnswerEditor__textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
}

.qnaAnswerEditor__actions {
    margin-top: 10px;
    text-align: right;
}

.qnaAnswerEditor__actions .js-qna-answer-submit {
    min-width: 90px;
}

/* =========================
 * goodsDetail.jsp styles
 * ========================= */
.comparison-container {
    width: 100%;
    overflow: hidden;
}

.comparison-container .swiper-wrapper {
    display: flex;
}

.fixed-item {
    width: 25%;
    /* 왼쪽 고정 아이템의 너비 */
    flex-shrink: 0;
}

.comparison-container .swiper-container {
    width: 75%;
    /* 오른쪽 슬라이더 컨테이너의 너비 */
    overflow: hidden;
    /* swiper가 고정된 영역을 넘지 않도록 설정 */
    position: relative;
    /* 내부 버튼의 기준 위치 */
}

.comparison-container .swiper-slide {
    flex: 0 0 auto;
    /* 슬라이드의 너비를 고정된 비율로 설정 */
    width: calc(100% / 3 - 10px);
    /* 3개 슬라이드 표시와 간격에 맞춘 너비 */
    height: auto;
    display: flex;
    flex-direction: column;
    /* 각 슬라이드 내에서 아이템들이 세로로 나열될 수 있도록 */
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.comparison-container .swiper-button-next,
.comparison-container .swiper-button-prev {
    position: absolute;
    /* 부모 컨테이너 내에서 위치를 고정 */
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.comparison-container .swiper-button-next {
    right: 10px;
    /* 오른쪽 끝에서 약간 안쪽으로 배치 */
}

.comparison-container .swiper-button-prev {
    left: 10px;
    /* 왼쪽 끝에서 약간 안쪽으로 배치 */
}

.productDetailInfo_info > dl {
    padding: 10px 0 10px 7px;
}

.no-image-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 400px;
    background: #f5f5f5;
    color: #999;
    font-size: 16px;
    border: 1px dashed #ddd;
}

.no-image-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    color: #999;
    font-size: 11px;
    border: 1px dashed #ddd;
}

.badge-simple {
    display: inline-block;
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    margin-left: 6px;
    color: #555;
}

.badge-soldout {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

/* 품절 상태 UI */
.soldout-disabled,
.btn_large:disabled,
.btn_cnt:disabled,
.option-item input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.soldout-disabled {
    pointer-events: none;
}

.btn_large.soldout-disabled {
    background: #e5e5e5;
    border-color: #ccc;
    color: #888;
}

/* 품절 안내 모달 */
.soldout-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10010;
}

.soldout-modal.is-open {
    display: block;
}

.soldout-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.soldout-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 420px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.soldout-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.soldout-modal__header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.soldout-modal__close {
    border: 0;
    background: transparent;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.soldout-modal__body {
    padding: 18px 16px;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.soldout-modal__footer {
    padding: 12px 16px 16px;
    text-align: right;
}

.soldout-modal__confirm {
    padding: 6px 16px;
}

.productDetailInfo_options {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}


.line-item-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.line-item {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.line-item:last-child {
    border-bottom: none;
}

.line-item-options {
    flex: 1 1 60%;
    color: #333;
    font-size: 14px;
}

.line-item-quantity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.line-item-quantity button {
    width: 26px;
    height: 26px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.line-item-quantity .qty {
    min-width: 24px;
    text-align: center;
}

.line-item-price {
    font-weight: 600;
    color: #222;
}

.line-item-remove {
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
}


.option-group {
    margin-bottom: 15px;
}

.option-group-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.option-group-title .required-badge {
    color: #dc3545;
    font-size: 12px;
    margin-left: 5px;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 8px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.option-item:hover {
    background-color: #f5f5f5;
}

.option-item.selected {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

/* 옵션 품절/재고 표시 */
.option-item.soldout {
    opacity: 0.55;
    cursor: not-allowed;
}

.option-item.soldout:hover {
    background-color: transparent;
}

.option-item input:disabled {
    cursor: not-allowed;
}

.option-stock-badge {
    margin-left: 8px;
    font-size: 12px;
    color: #666;
}

.option-stock-badge.soldout {
    color: #dc3545;
    font-weight: 700;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    margin-right: 10px;
}

.option-item-name {
    flex: 1;
}

.option-item-price {
    margin-left: auto;
    font-weight: bold;
    color: #333;
}

.option-item-price.positive {
    color: #4caf50;
}

.option-item-price.negative {
    color: #f44336;
}

/* 별점 UI */
.star-rating {
    display: flex;
    gap: 4px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 20px;
    color: #ccc;
    cursor: pointer;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f5c518;
}

/* Footer 가림 방지 여백 */
.productDetailcontent {
    padding-bottom: 100px;
}

/* .bottom_infoBox {
    margin-bottom: 200px;
    padding-bottom: 80px;
}
*/

/* 위시(하트) 버튼 */
.btn_wish {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

.btn_wish svg {
    width: 20px;
    height: 20px;
}

.btn_wish .heart-fill {
    fill: none;
    stroke: #999;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn_wish.on {
    border-color: #e60012;
}

.btn_wish.on .heart-fill {
    fill: #e60012;
    stroke: #e60012;
}

/* 가격 표시 통일 */
.product_unit_price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.product_unit_price .pd_price,
.product_unit_price .pd_sale {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product_unit_price .pd_original {
    text-decoration: line-through;
    color: #888;
}

.product_unit_price .pd_current {
    font-weight: 700;
    color: #222;
}

.product_unit_price .percent {
    color: #e60012;
    font-weight: 700;
}

/* ========== 구매평/Q&A 퍼블리싱 스타일 ========== */
/* 리뷰 작성 폼 */
.review_writer {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.comment_inbox {
    margin-bottom: 15px;
}

.comment_inbox_tit {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

.starRating_wrap {
    margin-bottom: 10px;
}

.comment_inbox_text {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-size: 14px;
}

.review_writer .btn_area {
    text-align: right;
}

.review_writer .btn_area .btn {
    padding: 8px 20px;
    margin-left: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.review_writer .btn_area .btn.outline {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
}

.review_writer .btn_area .btn.theme {
    background: #333;
    border: 1px solid #333;
    color: #fff !important;
}

/* 리뷰 목록 */
.review_list_wrap {
    margin-bottom: 20px;
}

.comment_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment_item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.comment_item:last-child {
    border-bottom: none;
}

.comment_area {
    display: flex;
    gap: 15px;
}

.comment_thumb {
    flex-shrink: 0;
}

.comment_thumb img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>') no-repeat center;
    background-size: 60%;
}

.comment_box {
    flex: 1;
}

.comment_nick_box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.reviewStars__wrapper--sm {
    display: flex;
    align-items: center;
    gap: 4px;
}

.reviewStars {
    display: inline-block;
    width: 80px;
    height: 16px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><text x="0" y="15" font-size="16" fill="%23ddd">★★★★★</text></svg>') no-repeat;
    background-size: contain;
    position: relative;
}

.reviewStars::before {
    content: "★★★★★";
    position: absolute;
    left: 0;
    top: 0;
    color: #f5c518;
    overflow: hidden;
    white-space: nowrap;
}

.reviewStars.star-0::before {
    width: 0%;
}

.reviewStars.star-1::before {
    width: 20%;
}

.reviewStars.star-2::before {
    width: 40%;
}

.reviewStars.star-3::before {
    width: 60%;
}

.reviewStars.star-4::before {
    width: 80%;
}

.reviewStars.star-5::before {
    width: 100%;
}

.reviewStars__num {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.comment_nick_info {
    display: flex;
    align-items: center;
}

.comment_nickname {
    font-weight: 500;
    color: #333;
}

.comment_text_box {
    margin-bottom: 8px;
}

.comment_text_view {
    margin: 0;
    line-height: 1.6;
}

.text_comment {
    color: #555;
    word-break: break-word;
}

.comment_reply_box {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 4px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.reply_author {
    font-weight: bold;
    margin-right: 8px;
}

.reply_date {
    color: #999;
    font-size: 12px;
}

.reply_content {
    margin-top: 8px;
    color: #555;
}

.comment_footer {
    margin-top: 8px;
}

.comment_info_date {
    color: #999;
    font-size: 13px;
}

/* Q&A 섹션 */
.userQnA {
    margin-top: 20px;
}

.userQnA__controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.userQnA__controls .txt {
    color: #555;
    font-size: 14px;
}

.userQnA__controls .txt i {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"/></svg>') no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin-right: 6px;
}

.userQnA__controls .btn_area .btn.md.theme {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

/* Q&A 테이블 */
/*.table-wrapper {
    overflow-x: auto;
}

.table.vertical {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.table.vertical th,
.table.vertical td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.table.vertical thead th {
    background: #f5f5f5;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

.table.vertical td.text-left {
    text-align: left;
}*/

.board-number {
    color: #666;
}

.text-waiting {
    color: #ff9800;
    font-weight: 500;
}

.text-complete {
    color: #4caf50;
    font-weight: 500;
}

.board-inner-product__title {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.customer-name {
    color: #666;
}

.board-date {
    color: #999;
    font-size: 13px;
}

.ic_secret {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></svg>') no-repeat center;
    background-size: contain;
    vertical-align: middle;
}

/* Q&A 아코디언 */
.tr-foldable-trigger {
    cursor: pointer;
    transition: background-color 0.2s;
}

.tr-foldable-trigger:hover {
    background-color: #f9f9f9;
}

.tr-foldable {
    display: none;
}

.tr-foldable.active {
    display: table-row;
}

.tr-foldable__content {
    padding: 20px;
    background: #fafafa;
    text-align: left;
}

.tr-foldable__qna {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.tr-foldable__qna:last-child {
    margin-bottom: 0;
}

.icon.icon_qna-q,
.icon.icon_qna-a {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
}

.icon.icon_qna-q {
    background: #2196f3;
}

.icon.icon_qna-q::before {
    content: "Q";
}

.icon.icon_qna-a {
    background: #4caf50;
}

.icon.icon_qna-a::before {
    content: "A";
}

.tr-foldable__qna-content {
    flex: 1;
}

.tr-foldable__qna-title {
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 14px;
}

.tr-foldable__btn-container {
    margin-top: 15px;
    text-align: right;
}

.tr-foldable__btn-container .btn {
    padding: 6px 16px;
    margin-left: 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

/* Q&A 팝업 */
.dimBg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.layer_pop {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 0;
    box-shadow: -4px 0px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    display: none;
    max-width: 700px;
    max-height: 600px;
    width: 100%;
    height: 100%;
    padding: 40px 32px;
    box-sizing: border-box;
    text-align: left;
}

.pop_container {
    padding: 0;
    margin-bottom: 24px;
}

.pop_container h2 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.pop_close01 {
    position: absolute;
    top: 40px;
    right: 32px;
    width: 30px;
    height: 30px;
    border: none;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>') no-repeat center;
    background-size: 24px;
    cursor: pointer;
    text-indent: -9999px;
}

.qnaWritePop .table.transparent {
    width: 100%;
    border-top: solid 1px #d5d5d5;
}

.qnaWritePop .table.transparent tr {
    border-bottom: solid 1px #d5d5d5;
}

.qnaWritePop .table.transparent th,
.qnaWritePop .table.transparent td {
    height: 44px;
    text-align: left;
    vertical-align: top;
}

.qnaWritePop .table.transparent th {
    background: #f1f3f5;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.qnaWritePop .table.transparent td {
    padding: 8px 10px;
    font-size: 14px;
}

.qnaWritePop .td-inner {
    width: 100%;
}

.qnaWritePop .input-text.full {
    width: 100%;
    font-size: 14px;
    padding: 0px 10px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.qnaWritePop .textarea {
    padding: 6px 8px;
    width: calc(100% + 20px);
    height: 280px;
    margin: 0 0 0 -10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-size: 14px;
}

.qnaWritePop .textarea:focus {
    border-color: #3362a0;
}

.b-checkbox-container {
    margin-top: 10px;
}

.b-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.b-checkbox input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.b-checkbox .control-label {
    font-size: 14px;
    color: #555;
}

.layer_pop .btn_area.center {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn_layerWhite,
.btn_layerBlack {
    width: 90px;
    height: 48px;
    padding: 0 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    line-height: 27px;
}

.btn_layerWhite {
    background: #fff;
    border: 1px solid #D9DCE0;
    color: rgba(0, 0, 0, 0.87);
}

.btn_layerBlack {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}

.btn_layerWhite.w-150,
.btn_layerBlack.w-150 {
    width: 150px;
}

/* 판매자 링크 스타일 */
.seller-link {
    color: #5555b7;
    text-decoration: none;
    font-weight: 500;
}

.seller-link:hover {
    text-decoration: underline;
}

.seller-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 6px;
    color: #5555b7;
    text-decoration: none;
}

.seller-home-link:hover {
    text-decoration: underline;
}

.seller-more-link {
    margin-left: 6px;
    color: #5555b7;
    text-decoration: none;
    font-size: 13px;
}

.seller-more-link:hover {
    text-decoration: underline;
}

/* =========================
 * mypage/memberEdit.jsp (회원유형별 노출)
 * ========================= */
.biz_info_area_edit,
.sub_tit1-church-edit,
.church_select_area_edit,
.general_member_addr_edit,
.cash_receipt_item_edit {
    display: none;
}

/* =========================
 * 메인 페이지 전용 스타일
 * ========================= */
.main_contents .productGallery_popup .btn_view {
    padding: 0 15px;
}

.main_contents .product_unit .pd_mine {
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_contents .btn_more {
    display: inline-block;
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main_contents .product_list_type1,
.main_contents .product_list_type2 {
    display: none;
}

.main_contents .product_unit_price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.main_contents .product_unit_price .pd_price,
.main_contents .product_unit_price .pd_sale {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main_contents .product_unit_price .pd_original {
    text-decoration: line-through;
    color: #888;
}

.main_contents .product_unit_price .pd_current {
    font-weight: 700;
    color: #222;
}

.main_contents .product_unit_price .percent {
    color: #e60012;
    font-weight: 700;
}

.main_contents .main_search_box {
    background: #f3f3f3;
}

.main_contents .main_search_box .search_wrp {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: calc(100% - 50px);
}

.main_contents .no-image-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    color: #999;
    font-size: 14px;
    border: 1px dashed #ddd;
}

.main_contents .empty-banner {
    width: 100%;
    height: 400px;
    background: #f8f8f8;
}

.main_contents .product_list_type_main1 .product_unit,
.main_contents .product_list_type_main2 .product_unit {
    cursor: pointer;
}

.main_contents .section__main-top .box__category-all-layer .list__category-all .list-item__1depth--active .box__category-2depth {
    display: block;
}

/* =========================
 * 메인 팝업 (main.jsp)
 * ========================= */
.main-popup-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: none;
    pointer-events: none;
}

.main-popup-container {
    position: absolute;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    pointer-events: auto;
}

.main-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.main-popup-hide-today {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #444;
}

.main-popup-hide-today-checkbox {
    display: inline-block !important;
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    cursor: pointer;
}

.main-popup-close {
    background: none;
    border: 0;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

.main-popup-body {
    background: #fff;
}

.main-popup-body img {
    display: block;
    width: 100%;
    height: auto;
}

.main-popup-image-empty {
    display: none;
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.main-popup-link-disabled {
    pointer-events: none;
    cursor: default;
}