/* BASIC css start */
/* shopdetail.css */

/* ── 페이지 레이아웃 ── */
#contentWrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
#contentWrap { display: flex; gap: 24px; align-items: flex-start; padding: 28px 0 48px; }
#aside { width: 240px; flex-shrink: 0; }
#content { flex: 1; min-width: 0; }

/* ── 상품 상세 컨테이너 ── */
.oaz-prd-detail { background: #fff; }

/* ── 브레드크럼 ── */
.oaz-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 12px; color: #94a3b8; padding: 0 0 18px; }
.oaz-breadcrumb a { color: #64748b; text-decoration: none; }
.oaz-breadcrumb a:hover { color: #2563eb; }
.oaz-bc-sep { color: #cbd5e1; }
.oaz-bc-current { color: #1e293b; font-weight: 600; }

/* ── 상품 상단 (이미지 + 정보) ── */
.oaz-prd-top { display: flex; flex-wrap: nowrap; gap: 36px; padding: 24px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 20px; }
/* 브라우저 창이 1000px보다 좁아질 때만 이미지가 위, 정보가 아래로 쌓임 */
@media (max-width: 1000px) {
    .oaz-prd-top { flex-wrap: wrap; }
}

/* 이미지 영역 (고정폭이 아니라 비율 기반이라 좌측 사이드바가 있어도
   1000px 구간까지 항상 정보 영역과 함께 한 줄에 들어맞음) */
.oaz-prd-thumb { flex: 1 1 55%; max-width: 460px; }
.oaz-prd-zoom { width: 100%; box-sizing: border-box; padding: 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; text-align: center; overflow: visible; }
/*
 * MakeShop 확대(zoom) 스크립트가 이미지를 감싸는 .zoomPad에 자바스크립트로
 * style="width:11px" 를 직접 박아넣어서, 외부 CSS로 .oaz-prd-zoom을 아무리 키워도
 * 실제 이미지 컨테이너는 11px로 눌려 있었다. 인라인 스타일을 이기려면 !important가
 * 필요하다 (여기서는 정당한 예외). 확대 미리보기(.zoomWindow)가 잘리지 않도록
 * overflow도 어디서든 clip하지 않는다.
 */
.oaz-prd-zoom .zoomPad {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
}
.oaz-prd-zoom .zoomPad img.detail_image {
    width: 100% !important;
    height: auto !important;
    max-width: 460px;
    display: block;
    margin: 0 auto;
}
.oaz-prd-zoom .zoomWatermark {
    width: auto !important;
    height: auto !important;
    padding: 4px 10px !important;
    border: none !important;
    opacity: .75 !important;
    background: rgba(255,255,255,.9) !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    white-space: nowrap;
    text-align: left !important;
    left: 8px !important;
    bottom: 8px !important;
}
.oaz-prd-zoom .zoomWindow { border-color: #e2e8f0 !important; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.oaz-prd-thumb-ctrl { margin-top: 10px; text-align: center; }
.oaz-thumb-btn {
    display: inline-block; padding: 6px 16px; background: #f1f5f9;
    border: 1px solid #e2e8f0; border-radius: 6px; font-size: 12px;
    color: #64748b; text-decoration: none; transition: background .15s;
}
.oaz-thumb-btn:hover { background: #e2e8f0; color: #1e293b; }

/* 정보 영역
 * form_product 태그가 만드는 <form>이 .oaz-prd-top의 실제 flex item이고
 * .oaz-prd-info는 그 안의 손자 요소라서, flex 관련 속성은 form 쪽에 줘야 실제로 먹는다.
 */
.oaz-prd-top > form { flex: 1 1 45%; min-width: 200px; }
.oaz-prd-info { width: 100%; }
.oaz-prd-wish-wrap { text-align: right; margin-bottom: 8px; font-size: 13px; color: #64748b; }
/* MakeShop이 관심상품 버튼 옆에 자동으로 붙이는 위시 카운트("0") 배지 숨김 */
#MS_wish_count { display: none; }
.oaz-prd-name { font-size: 20px; font-weight: 700; color: #1e293b; margin: 0 0 20px; line-height: 1.4; }
.oaz-prd-icons { font-size: 12px; color: #2563eb; font-weight: 400; vertical-align: middle; }

/* 옵션 테이블 */
.oaz-prd-opts-tbl { width: 100%; border-collapse: collapse; border-top: 2px solid #1e293b; margin-bottom: 20px; }
.oaz-prd-opts-tbl th,
.oaz-prd-opts-tbl td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; font-size: 13px; text-align: left; vertical-align: middle; }
.oaz-prd-opts-tbl th { background: #f8fafc; color: #64748b; font-weight: 600; white-space: normal; word-break: keep-all; width: 110px; }
.oaz-prd-opts-tbl td { color: #334155; }
.oaz-price-consumer { color: #94a3b8; font-size: 12px; }
.oaz-price-row th { color: #1e293b; font-weight: 700; }
.oaz-price-sell { font-size: 22px; font-weight: 800; color: #2563eb; }
.oaz-sns-row { padding: 8px 12px; }

/* 수량 스피너 */
.oaz-qty-wrap { display: inline-flex; align-items: center; gap: 4px; }
.oaz-qty-wrap input[type="text"],
.oaz-qty-wrap input[type="number"] { width: 52px; height: 30px; border: 1px solid #e2e8f0; border-radius: 6px; text-align: center; font-size: 14px; padding: 0; }
.oaz-qty-btns { display: flex; flex-direction: column; gap: 1px; }
.oaz-qty-btn { display: block; width: 22px; height: 14px; line-height: 14px; text-align: center; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 3px; font-size: 8px; color: #64748b; text-decoration: none; }
.oaz-qty-btn:hover { background: #e2e8f0; color: #1e293b; }

/* 사이즈 차트 버튼 */
.oaz-size-chart-btn { display: inline-block; padding: 5px 12px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 6px; font-size: 12px; color: #2563eb; text-decoration: none; cursor: pointer; transition: background .15s; }
.oaz-size-chart-btn:hover { background: #dbeafe; }

/* 구매 버튼 */
.oaz-prd-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.oaz-soldout-msg { padding: 14px 20px; background: #f1f5f9; border-radius: 8px; font-size: 14px; color: #94a3b8; text-align: center; width: 100%; }
.oaz-btn-buy,
.oaz-btn-cart,
.oaz-btn-wish { flex: 1; min-width: 100px; display: inline-block; padding: 13px 16px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; text-align: center; transition: background .15s; }
.oaz-btn-buy { background: #2563eb; color: #fff; }
.oaz-btn-buy:hover { background: #1d4ed8; }
.oaz-btn-cart { background: #1e293b; color: #fff; }
.oaz-btn-cart:hover { background: #334155; }
.oaz-btn-wish { background: #fff; color: #64748b; border: 1px solid #e2e8f0; }
.oaz-btn-wish:hover { background: #f8fafc; border-color: #94a3b8; }
.oaz-pay-btns { margin-bottom: 6px; }

#nhn_btn { padding-top: 6px; }
#payco_order_btn { padding-top: 6px; }
#kakaopay_order_btn { padding-top: 6px; }

/* MakeShop 옵션 위젯 */
.MK_not_choice { color: #ef4444; }
.MK_optAddWrap,
.MK_optAddWrap * { margin: 0; padding: 0; }
.MK_optAddWrap { color: #64748b; font-size: 13px; line-height: 1.5; }
.MK_optAddWrap li { list-style: none; }
#MK_optAddList { overflow: hidden; }
#MK_optAddList li { float: left; width: 100%; margin-top: 6px; }
#MK_optAddList .MK_tit,
#MK_optAddList .MK_div,
#MK_optAddList .MK_st { float: left; }
#MK_optAddList .MK_tit { width: 80px; margin-right: 5px; font-size: 13px; line-height: 22px; color: #64748b; }
#MK_optAddList .MK_div { width: 5px; text-align: center; font-size: 13px; line-height: 22px; }
#MK_optAddList .MK_st { width: 230px; }
#MK_optAddList .MK_st .MK_btn-add { cursor: pointer; }
#MK_optAddList .MK_st select { margin-left: 5px; width: 220px; height: 26px; border: 1px solid #e2e8f0; border-radius: 4px; font-size: 13px; }
#MK_optAddListPP { overflow: hidden; }
#MK_optAddListPP .MK_tit,
#MK_optAddListPP .MK_st { float: left; width: auto; }
#MK_optAddListPP .MK_tit { margin-right: 5px; margin-top: 3px; }
#MK_innerOptWrap { margin-top: 10px; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; }
#MK_innerOptWrap #MK_innerOptScroll.limit { position: relative; height: 150px; overflow-y: auto; }
#MK_innerOptWrap .MK_inner-opt-cm li { position: relative; min-height: 13px; padding: 8px 5px; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl,
#MK_innerOptWrap .MK_inner-opt-cm li .MK_price,
#MK_innerOptWrap .MK_inner-opt-cm li .MK_btn-del { position: absolute; }
#MK_innerOptWrap .MK_inner-opt-cm li .MK_p-name,
#MK_innerOptWrap .MK_inner-opt-cm li .MK_qty-ctrl,
#MK_innerOptWrap .MK_inner-opt-cm li .MK_price,
#MK_innerOptWrap .MK_inner-opt-cm li .MK_btn-del { display: block; }
#MK_innerOptWrap .MK_inner-opt-cm li .MK_price { right: 20px; top: 10px; color: #334155; }
#MK_innerOptWrap .MK_inner-opt-cm li .MK_btn-del { right: 5px; top: 10px; }
.MK_optAddWrap .MK_inner-opt-cm li .MK_txt_uinput { width: 200px; }
#MK_innerOptWrap #MK_innerOpt_01 li .MK_p-name { margin-right: 140px; }
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl { width: 50px; top: 3px; right: 90px; }
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl input.MK_count { width: 30px; height: 20px; text-align: center; }
/* 수량 증가/감소 버튼: MakeShop이 넣는 basket_up.gif/basket_down.gif 이미지는
   숨기고 CSS 삼각형 화살표로 대체 */
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl a {
    position: absolute; right: 0; width: 16px; height: 9px;
    background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 2px;
    text-decoration: none;
}
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl a:hover { background: #e2e8f0; }
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl a img { display: none; }
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl a::before {
    content: ""; display: block; margin: 3px auto 0; width: 0; height: 0;
    border-left: 3px solid transparent; border-right: 3px solid transparent;
}
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl a.MK_btn-up { top: 2px; }
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl a.MK_btn-up::before { border-bottom: 4px solid #64748b; }
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl a.MK_btn-up:hover::before { border-bottom-color: #2563eb; }
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl a.MK_btn-dw { top: 12px; }
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl a.MK_btn-dw::before { border-top: 4px solid #64748b; margin-top: 2px; }
#MK_innerOptWrap #MK_innerOpt_01 li .MK_qty-ctrl a.MK_btn-dw:hover::before { border-top-color: #2563eb; }
#MK_innerOptWrap #MK_innerOpt_02 li .MK_p-name { margin-right: 80px; }
#MK_innerOptTotal { padding: 10px; font-size: 13px; color: #334155; text-align: right; background: #f8fafc; }
#MK_innerOptTotal .MK_total { color: #2563eb; font-weight: 700; }

/* ── 탭 네비게이션 ── */
.oaz-detail-tabs { display: flex; border-bottom: 2px solid #e2e8f0; margin-bottom: 0; background: #fff; position: sticky; top: 0; z-index: 10; overflow-x: auto; }
.oaz-tab-link { display: block; padding: 12px 20px; font-size: 14px; font-weight: 600; color: #64748b; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .15s, border-color .15s; white-space: nowrap; }
.oaz-tab-link:hover { color: #2563eb; }
.oaz-tab-link.active { color: #2563eb; border-bottom-color: #2563eb; }

/* ── 섹션 공통 ── */
.oaz-section { padding: 28px 0; border-bottom: 1px solid #e2e8f0; }
.oaz-section:last-of-type { border-bottom: none; }
.oaz-section-hd { margin-bottom: 18px; }
.oaz-section-hd-flex { display: flex; align-items: center; justify-content: space-between; }
.oaz-section-title { font-size: 16px; font-weight: 700; color: #1e293b; margin: 0; padding-bottom: 10px; border-bottom: 2px solid #1e293b; display: inline-block; }
.oaz-section-more { font-size: 13px; color: #2563eb; text-decoration: none; }
.oaz-section-more:hover { text-decoration: underline; }
.oaz-section-acts { display: flex; gap: 8px; align-items: center; }
.oaz-btn-write-sm { display: inline-block; padding: 6px 14px; background: #2563eb; color: #fff; border-radius: 6px; font-size: 12px; font-weight: 600; text-decoration: none; transition: background .15s; }
.oaz-btn-write-sm:hover { background: #1d4ed8; }

/* ── 상품 상세 설명 ── */
.oaz-detail-body { font-size: 14px; line-height: 1.7; color: #334155; }
.oaz-detail-body img { max-width: 100%; }
.oaz-detail-common { margin-bottom: 16px; }
.oaz-size-chart-inline { margin: 20px 0; padding: 20px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
.oaz-size-chart-inline table { border-collapse: collapse; width: 100%; }
.oaz-size-chart-inline th,
.oaz-size-chart-inline td { border: 1px solid #e2e8f0; padding: 8px 12px; font-size: 13px; text-align: center; }
.oaz-size-chart-inline th { background: #f1f5f9; font-weight: 600; }
.oaz-size-note { font-size: 12px; color: #94a3b8; margin-top: 12px; }

/* 사이즈 차트 내 이미지 */
#sc_img_chart,
.sc-img-chart { max-width: 100%; height: auto; }
#sc_img_guide,
.sc-img-guide { max-width: 190px; height: auto; }

/* ── 상품 정보 (일반정보제공 고시) ── */
#productWrap { margin: 10px 0; }
.oaz-info-cat-title { font-size: 14px; font-weight: 700; color: #1e293b; margin: 16px 0 8px; }
.oaz-info-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; border-top: 1px solid #e2e8f0; }
.oaz-info-table th,
.oaz-info-table td { padding: 9px 12px; border-bottom: 1px solid #f1f5f9; font-size: 13px; text-align: left; vertical-align: top; }
.oaz-info-table th { background: #f8fafc; color: #64748b; font-weight: 600; width: 190px; }
.oaz-coupon-item { padding: 12px 0; }

/* ── 리뷰 작성 폼 ── */
.oaz-review-write { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.oaz-review-write fieldset { border: none; margin: 0; padding: 0; }
.oaz-review-form-row { display: flex; align-items: flex-start; gap: 14px; padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
.oaz-review-form-row:last-child { border-bottom: none; }
.oaz-review-label { min-width: 60px; font-size: 12px; font-weight: 600; color: #64748b; padding-top: 4px; }
.oaz-review-field { flex: 1; }
.oaz-review-field textarea { width: 100%; border: 1px solid #e2e8f0; border-radius: 6px; padding: 8px; font-size: 13px; resize: vertical; box-sizing: border-box; }
.oaz-review-scores { font-size: 12px; color: #64748b; }
.oaz-review-scores span { display: block; margin-bottom: 2px; }
.oaz-btn-write { display: inline-block; padding: 8px 16px; background: #2563eb; color: #fff; border-radius: 6px; font-size: 12px; font-weight: 600; text-decoration: none; margin-top: 8px; transition: background .15s; }
.oaz-btn-write:hover { background: #1d4ed8; }

/* ── 게시판 공통 테이블 ── */
.oaz-board-table { width: 100%; border-collapse: collapse; border-top: 2px solid #1e293b; font-size: 13px; }
.oaz-board-table thead th { padding: 10px 12px; background: #f8fafc; color: #64748b; font-weight: 600; border-bottom: 1px solid #e2e8f0; text-align: center; white-space: nowrap; }
.oaz-board-row td { padding: 11px 12px; border-bottom: 1px solid #f1f5f9; color: #334155; vertical-align: middle; text-align: center; cursor: pointer; }
.oaz-board-row:hover td { background: #f8fafc; }
.oaz-board-subj { text-align: left !important; }
.oaz-board-subj a { color: #334155; text-decoration: none; }
.oaz-board-subj a:hover { color: #2563eb; }
.oaz-board-writer { color: #64748b !important; }
.oaz-board-date { color: #94a3b8 !important; font-size: 12px !important; white-space: nowrap; }
.oaz-board-num { color: #94a3b8 !important; font-size: 12px !important; }
.oaz-board-score { color: #f59e0b !important; font-weight: 600 !important; }
.oaz-board-cnt-read { color: #94a3b8 !important; font-size: 12px !important; }
.oaz-cmt-cnt { color: #2563eb; font-size: 11px; font-weight: 600; }
.oaz-board-act-btn { font-size: 11px; color: #94a3b8; text-decoration: none; margin-left: 6px; }
.oaz-board-act-btn:hover { color: #1e293b; }
.oaz-board-report { font-size: 11px; color: #ef4444; text-decoration: none; margin-left: 8px; }
.oaz-board-empty { padding: 32px; text-align: center; color: #94a3b8; font-size: 14px; }

/* 게시판 내용 펼침 */
.oaz-board-cnt { display: none; }
.oaz-board-cnt td { padding: 16px 20px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; text-align: left; cursor: default; }
.oaz-board-content { font-size: 13px; color: #334155; line-height: 1.7; }
.oaz-board-main-content { padding: 8px 0 12px; }
.oaz-board-img { margin-bottom: 12px; }
.oaz-board-img img { max-width: 100%; border-radius: 6px; }
.oaz-board-acts { margin-top: 10px; }
.oaz-board-reply { margin-top: 10px; padding: 10px 14px; background: #eff6ff; border-left: 3px solid #2563eb; border-radius: 0 6px 6px 0; font-size: 12px; color: #334155; }

/* 댓글 (MakeShop MS_cmt) */
.MS_cmt_list_box { margin-top: 12px; }
.MS_cmt_list { width: 100%; border-collapse: collapse; }
.MS_cmt_detail { display: block; padding: 10px 14px; background: #f1f5f9; border-radius: 6px; margin-bottom: 6px; }
.MS_cmt_hname { font-size: 12px; font-weight: 700; color: #334155; margin-right: 10px; }
.MS_cmt_date { font-size: 11px; color: #94a3b8; }
.MS_cmt_content { font-size: 13px; color: #334155; margin-top: 6px; line-height: 1.6; position: relative; }
.MS_cmt_content .btn-report { float: none; position: absolute; right: 10px; bottom: 0; }
.comment_depth2 .MS_cmt_detail { margin-left: 20px; }
.comment_depth3 .MS_cmt_detail { margin-left: 40px; }
.reply_depth2 { padding-left: 16px; }

/* 페이저 */
.oaz-pager { text-align: center; padding: 16px 0; }
.oaz-pager-cell { padding: 12px; text-align: center; }
.paging { list-style: none; margin: 0; padding: 0; display: inline-flex; gap: 4px; }
.paging li a { display: block; padding: 5px 10px; border: 1px solid #e2e8f0; border-radius: 5px; font-size: 13px; color: #64748b; text-decoration: none; transition: all .15s; }
.paging li a:hover { background: #eff6ff; border-color: #93c5fd; color: #2563eb; }
.paging li.now a { background: #2563eb; border-color: #2563eb; color: #fff; }

/* ── 사이즈 차트 레이어 팝업 ── */
.oaz-size-chart-layer {
    display: none; position: absolute; z-index: 9999;
    width: 620px; background: #fff; border: 1px solid #e2e8f0;
    border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.12); overflow: hidden;
}
.oaz-scl-hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #1e293b; }
.oaz-scl-hd h4 { font-size: 15px; font-weight: 700; color: #fff; margin: 0; }
.oaz-scl-close { color: #94a3b8; text-decoration: none; font-size: 18px; line-height: 1; transition: color .15s; }
.oaz-scl-close:hover { color: #fff; }
.oaz-scl-body { padding: 20px; max-height: 500px; overflow-y: auto; }
.size-chart-box { font-size: 13px; }
.size-chart-cont { text-align: center; padding: 5px; }
.size-chart-cont table { width: 100%; border-collapse: collapse; border: 1px solid #e2e8f0; }
.size-chart-cont th,
.size-chart-cont td { padding: 8px 12px; text-align: center; border-bottom: 1px solid #e2e8f0; font-size: 13px; }
.size-chart-cont th { background: #f8fafc; font-weight: 600; }
.size-chart-cont p { margin-top: 10px; text-align: left; font-size: 12px; color: #94a3b8; }

/* ── 소리뷰 ── */
#sorivu { position: relative; margin-top: 20px; }

/* BASIC css end */

