/* Font Awesome 6 — 아이콘 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* ============================================================
   THE LAB CHEMICAL — 공통 CSS  (common.css)
   ▸ 모든 페이지에서 가장 먼저 로드
   ▸ 디자인 토큰 단일 정의 → 각 페이지 :root 불필요
============================================================ */

/* ── 0. Google Fonts / Pretendard ── */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* ── 1. Design Tokens ── */
:root {
  /* Brand */
  --navy:         #0C025B;
  --navy-dk:      #07013e;
  --navy-lt:      rgba(12,2,91,.07);
  --accent:       #d32f2f;

  /* Text */
  --text:         #0f172a;
  --text-sub:     #64748b;
  --text-muted:   #94a3b8;

  /* Surface */
  --bg:           #ffffff;
  --bg-soft:      #f8fafc;
  --bg-page:      #f4f6fb;

  /* Border */
  --border:       #e2e8f0;
  --border-soft:  rgba(15,23,42,.08);

  /* Shadow */
  --shadow-xs:    0 1px 4px rgba(15,23,42,.06);
  --shadow-sm:    0 4px 14px rgba(15,23,42,.07);
  --shadow-md:    0 8px 28px rgba(15,23,42,.10);

  /* Font */
  --font:         'Pretendard', 'Noto Sans KR', sans-serif;

  /* Layout */
  --aside-w:      210px;
  --header-h:     128px;
  --wrap:         1200px;   /* ✅ 헤더·본문·푸터 공통 컨테이너 폭 통일 */

  /* Misc */
  --radius:       10px;
  --radius-lg:    16px;
  --pill:         999px;
  --ease:         .2s ease;
}

/* ── 2. Reset ── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
}

html, body { width: 100%; }

body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.65;
}

ul, li  { list-style: none; }
a       { text-decoration: none; color: inherit; }
img     { display: block; max-width: 100%; vertical-align: middle; }
address, em { font-style: normal; }
hr, caption, legend { display: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -.3px;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
}
input:focus { outline: none; }
select { line-height: 1.4; }
input[type=text]::-ms-clear { display: none; }

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  word-break: keep-all;
}

#preview_wrap { display: none !important; }

/* ── 3. Utility ── */
.blind, .visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.d-block  { display: block; }
.d-inline { display: inline; }

.clear::after,
.clear_fix::after { content: ""; display: block; clear: both; }

/* 색상 */
.pointColor { color: var(--navy) !important; }
.fc-red     { color: var(--accent) !important; }
.fc-blue    { color: #0e67ec !important; font-weight: 700; }
.txt-bold, .bold { font-weight: 700; }
.txt-right  { text-align: right; }
.txt-center { text-align: center; }
.txt-left   { text-align: left; }
.MS_option_price { color: var(--accent); }

/* Spacing helpers */
.nomg { margin: 0 !important; }
.nopd { padding: 0 !important; }
.mr-5  { margin-right:  5px; } .mr-10 { margin-right: 10px; }
.mr-15 { margin-right: 15px; } .mr-20 { margin-right: 20px; }
.ml-5  { margin-left:   5px; } .ml-10 { margin-left:  10px; }
.ml-15 { margin-left:  15px; } .ml-20 { margin-left:  20px; }
.mt-5  { margin-top:    5px; } .mt-10 { margin-top:   10px; }
.mt-15 { margin-top:   15px; } .mt-20 { margin-top:   20px; }
.mb-5  { margin-bottom: 5px; } .mb-10 { margin-bottom:10px; }
.mb-15 { margin-bottom:15px; } .mb-20 { margin-bottom:20px; }
.pr-5  { padding-right:  5px; } .pr-10 { padding-right: 10px; }
.pl-5  { padding-left:   5px; } .pl-10 { padding-left:  10px; }
.pl-15 { padding-left:  15px; } .pl-20 { padding-left:  20px; }
.pl-30 { padding-left:  30px; }
.pt-5  { padding-top:    5px; } .pt-10 { padding-top:   10px; }
.pt-15 { padding-top:   15px; } .pt-20 { padding-top:   20px; }
.pb-5  { padding-bottom: 5px; } .pb-10 { padding-bottom:10px; }

/* Table utils */
.tb-left   { text-align: left;   padding: 0 10px; }
.tb-center { text-align: center; padding: 0 10px; }
.tb-right  { text-align: right;  padding: 0 10px; }
.tb-btn    { padding: 0; }
.tb-bold   { font-weight: 700; }

/* ── 4. Buttons ── */
.CSSbuttonBlack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 42px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  transition: all var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.CSSbuttonBlack:hover  { background: var(--navy-dk); border-color: var(--navy-dk); }
.CSSbuttonBlack:active { transform: translateY(1px); }

.CSSbuttonWhite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 42px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  transition: all var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.CSSbuttonWhite:hover  { background: var(--navy); color: #fff; }
.CSSbuttonWhite:active { transform: translateY(1px); }

.CSSbuttonGray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 42px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.CSSbuttonGray:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-lt); }
.CSSbuttonMin { padding: 0 12px; height: 30px; font-size: 12px; }

/* ── 5. Tables ── */
/* 공통 border-top 테이블 */
.table-type-2 { border-top: 2px solid var(--text); }
.table-type-2 th,
.table-type-2 td { border-bottom: 1px solid var(--border); padding: 12px 10px; }
.table-type-2 th { font-size: 13px; font-weight: 600; color: var(--text); background: var(--bg-soft); }
.table-type-2 td { color: var(--text); }
.table-type-2 td.nodata { text-align: center; color: var(--text-muted); }

/* 장바구니 공통 테이블 */
.table-cart { border-bottom: 1px solid var(--border); }
.table-cart thead th { padding: 14px 10px; font-size: 13px; font-weight: 700; color: var(--text-sub); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.table-cart tbody td { padding: 12px 10px; border-top: 1px solid var(--border); vertical-align: middle; }
.table-cart tfoot td { padding: 14px 10px; font-weight: 700; border-top: 2px solid var(--border); }
.table-cart tfoot strong { color: var(--accent); }

/* 주문정보 테이블 */
.table-order-prd { border-top: 2px solid var(--text); }
.table-order-info { margin-top: 10px; border-top: 2px solid var(--text); }
.table-order-info tbody th,
.table-order-info tbody td { padding: 12px 10px; border-bottom: 1px solid var(--border); }
.table-order-info tbody th { background: var(--bg-soft); font-weight: 600; color: var(--text-sub); }
.table-order-info tbody th div.tb-left { padding-left: 20px; }
.table-order-info tbody td { padding-left: 14px; }

/* 마이페이지 테이블 */
.tit-tb-list { margin-top: 36px; font-size: 18px; font-weight: 700; }
.table-d2-list { border-top: 2px solid var(--text); }
.table-d2-list thead th { padding: 14px 10px; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--border); }
.table-d2-list tbody td { padding: 14px 10px; border-bottom: 1px solid var(--border); }
.table-d2-list tbody td .replyYes { display: inline-block; padding: 3px 8px; font-size: 11px; color: #fff; background: var(--navy); border-radius: 4px; }
.table-d2-list tbody td .replyNo  { display: inline-block; padding: 3px 8px; font-size: 11px; color: var(--navy); background: var(--bg); border: 1px solid var(--navy); border-radius: 4px; }

.table-d2-view { margin-top: 10px; border-top: 2px solid var(--text); }
.table-d2-view th,
.table-d2-view td { padding: 14px 10px; border-bottom: 1px solid var(--border); }
.table-d2-view th { background: var(--bg-soft); font-weight: 600; }

/* ── 6. Pagination ── */
.paging {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 40px;
}
.paging a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  font-size: 13px;
  color: var(--text-sub);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--ease);
}
.paging a:hover,
.paging a.now,
.paging .now {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

/* ── 7. Product Item List ── */
/* float 제거 → flex 기반으로 통일 */
.item_list_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.item_list {
  display: block;
}
.item_list .tumb { width: 100%; }
.item_list .tumb a { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius); }
.item_list .tumb a img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.item_list .tumb a:hover img { transform: scale(1.04); }
.item_list .info { padding: 16px 0 28px; }
.item_list .info p { margin-bottom: 8px; }
.item_list .info .prdname { font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: -.2px; line-height: 1.45; }
.item_list .info .prdetc  { font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 10px; }
.item_list .info .prdprice .price  { font-size: 15px; font-weight: 800; color: var(--text); }
.item_list .info .prdprice strike  { font-size: 13px; color: var(--text-muted); display: inline-block; font-weight: 400; margin-left: 4px; }

.item_list1, .item_list2, .item_list3 {
  width: calc(20% - 16px);
  min-width: 180px;
}
.item_list1 .tumb, .item_list2 .tumb, .item_list3 .tumb { height: 220px; }
.item_list1 .info { text-align: center; }

/* ── 8. Item count / sort bar ── */
.item-order-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  border-bottom: 2px solid var(--text);
  margin-bottom: 40px;
}
.item-order-wrap .cate_count { font-size: 20px; font-weight: 700; }
.item-order-wrap .cate_count span { font-size: 15px; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.item-order select { border: none; background: transparent; font-size: 13px; color: var(--text-sub); cursor: pointer; }

/* ── 9. Breadcrumb ── */
.loc-navi { height: 44px; text-align: right; overflow: hidden; }
.loc-navi, .loc-navi a { font-size: 13px; color: var(--text-muted); line-height: 44px; }
.loc-navi a:hover { color: var(--navy); }

/* Page title */
#content .tit-page {
  position: relative;
  padding-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--text);
  margin-bottom: 30px;
}
#content .tit-page .dsc { position: absolute; right: 0; bottom: 14px; font-size: 12px; color: var(--text-muted); }

/* ── 10. BBS ── */
.bbs-hd { padding: 40px 0 20px; border-bottom: 1px dashed var(--border); }
.bbs-tit { margin-top: 36px; overflow: hidden; }
.bbs-tit::after { display: block; clear: both; content: ''; }
.bbs-tit h3 { float: left; font-size: 16px; font-weight: 700; line-height: 30px; }
.bbs-table-list { margin-top: 10px; }
.bbs-table-list thead th,
.bbs-table-list tbody td { padding: 14px 10px; }
.bbs-table-list thead th { font-size: 13px; font-weight: 700; border-top: 2px solid var(--text); border-bottom: 1px solid var(--border); }
.bbs-table-list tbody td { border-bottom: 1px solid var(--border); }
.bbs-table-view thead th { border-top: 2px solid var(--text); border-bottom: 1px solid var(--border); font-size: 15px; }
.bbs-table-write { margin-top: 10px; border-top: 2px solid var(--text); }
.bbs-table-write tbody th,
.bbs-table-write tbody td { padding: 12px 10px; border-bottom: 1px solid var(--border); }
.bbs-table-write tbody th { padding-left: 20px; font-weight: 600; background: var(--bg-soft); }
.bbs-btm { padding: 16px 0; position: relative; overflow: hidden; }
.bbs-btm .bbs-link { float: right; }
.bbs-btm .bbs-link a { margin-left: 6px; font-size: 13px; }

/* ── 11. Category title ── */
.cateTit { padding-top: 36px; border-top: 1px solid var(--border); margin-top: 10px; }
.cateTit h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }

/* ── 12. Member grade ── */
.mem-lvl { overflow: hidden; padding: 20px; border-bottom: 1px dashed var(--border); margin-bottom: 16px; }
.mem-lvl p { font-size: 14px; color: var(--text); line-height: 1.8; }
.mem-lvl p em { color: var(--accent); font-weight: 700; }

/* ── 13. Privacy ── */
.privercy-contract textarea { border: 1px solid var(--border); background: var(--bg); padding: 12px; width: 100%; max-width: 660px; border-radius: var(--radius); resize: vertical; }
.privercy-agree { margin: 10px 0; }
.privercy-agree label { margin-right: 12px; }

/* ── 14. Login / Find PW layout ── */
#loginWrap .mlog-sign .mlog,
#loginWrap .mlog-sign .sign { width: 50%; padding: 0 60px; box-sizing: border-box; }
#loginWrap .mlog-sign .frm-list { width: 100%; }
#loginWrap .mlog-sign .frm-list li input,
#loginWrap .mlog-sign .btn-mlog a,
#loginWrap .mlog-sign .sign dl dd a { width: 100%; }
#chkwrap .cont ul li a { height: auto; }
#findWrap .find_idpw { width: 50%; padding: 0 60px; box-sizing: border-box; }
#findWrap .find_idpw .frm-list,
#findWrap .find_idpw .frm-list li > * { width: 100%; }
#join_test .join-form li .txt-input { height: 48px; }
#comment_password input { width: 185px; }
#aside .lnb-wrap .lnb-bx { width: 32%; }
.fixed-img-collist ul li { width: 25%; }
.fixed-img-collist ul li a { width: 100%; }
#searchWrap .sch-frm .table-keyword { padding: 30px 0 0; max-width: 780px; margin: 0 auto; }

/* ── 15. Layout patch (aside fixed + header fixed) ── */
@media (min-width: 1024px) {
  aside#aside,
  aside:not([id]) {
    position: fixed !important;
    top: 0; left: 0; bottom: 0;
    width: var(--aside-w) !important;
    height: 100vh;
    margin: 0 !important;
    z-index: 130;
  }
  header#header {
    position: fixed !important;
    top: 0;
    left: var(--aside-w);
    width: calc(100% - var(--aside-w)) !important;
    margin: 0 !important;
    z-index: 120;
  }
  #contentWrapper {
    margin-left: var(--aside-w) !important;
    width: calc(100% - var(--aside-w)) !important;
    padding: 0 !important;                     /* ✅ 4방향 모두 0으로 강제 */
    padding-top: var(--header-h) !important;   /* top만 header 높이만큼 */
    box-sizing: border-box;
  }
  #contentWrap {
    /* ✅ #contentWrapper가 이미 margin-left: aside-w 처리 → 여기선 0 */
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  #content {
    max-width: var(--wrap);        /* 헤더·푸터와 동일한 1200px */
    width: 100%;                   /* 부모 폭 기준 — calc() 제거 */
    padding: 0 28px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  footer#footer, #wrap #footer {
    /* ✅ aside는 position:fixed → 스크롤 내리면 footer까지 안 내려옴
       → footer는 전체 폭으로 두고, foot_inner에서 aside 폭만큼 padding 보정 */
    margin-left: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .foot_inner {
    /* aside 폭(210px) + 기존 좌측 여백(28px) */
    padding-left: calc(var(--aside-w) + 28px) !important;
    padding-right: 28px !important;
  }
  .scroll-buttons { right: calc(2rem + 88px); }
}

@media (max-width: 1023px) {
  header#header { left: 0 !important; width: 100% !important; }
  #contentWrapper {
    margin-left: 0 !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: var(--header-h) !important;
    box-sizing: border-box;
  }
  #contentWrap { margin-left: 0 !important; width: 100% !important; padding: 0 !important; box-sizing: border-box; }
  footer#footer, #wrap #footer { margin-left: 0; width: 100%; }
  .item_list1, .item_list2, .item_list3 { width: calc(33.3% - 14px); }

  /* 모바일 본문·푸터 좌우 여백 */
  #content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box;
  }
}

/* ── JS 텍스트 노출 방지 (CSS 보조) — 실질적 처리는 09_footer.js에서 담당 ── */
/* footer 뒤에 생성되는 알 수 없는 빈 block 요소 숨김 */
#footer ~ div:empty,
footer ~ div:empty { display: none !important; }

@media (max-width: 640px) {
  .item_list1, .item_list2, .item_list3 { width: calc(50% - 10px); }
  .paging a { min-width: 32px; height: 32px; }
}

/* ============================================================
   THE LAB CHEMICAL — 게시판 통합 CSS (bbs.css)
   적용: 견적요청 목록 / 보기 / 쓰기 / 비밀번호
============================================================ */

/* ─────────────────────────────────────────
   공통 래퍼
───────────────────────────────────────── */
#bbsData {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 32px 60px;
    font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
    font-size: 14px;
    color: #1a1a2e;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
#bbsData *, #bbsData *::before, #bbsData *::after { box-sizing: border-box; }

#bbsData .page-body {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px 28px;
}

/* ─────────────────────────────────────────
   유틸
───────────────────────────────────────── */
#bbsData .tb-center { text-align: center; padding: 0; }
#bbsData .tb-left   { text-align: left;   padding: 0; }
#bbsData .tb-right  { text-align: right;  padding: 0; }
#bbsData .tb-bold   { font-weight: 700; }

/* ─────────────────────────────────────────
   버튼 공통
───────────────────────────────────────── */
#bbsData .CSSbuttonBlack,
#bbsData .CSSbuttonWhite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    letter-spacing: -.2px;
    white-space: nowrap;
}
#bbsData .CSSbuttonBlack {
    background: #0C025B;
    color: #fff;
    border: 2px solid #0C025B;
}
#bbsData .CSSbuttonBlack:hover {
    background: #1a0f7a;
    border-color: #1a0f7a;
    box-shadow: 0 4px 12px rgba(12,2,91,.25);
}
#bbsData .CSSbuttonWhite {
    background: #fff;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}
#bbsData .CSSbuttonWhite:hover {
    border-color: #94a3b8;
    color: #1a1a2e;
    background: #f8fafc;
}
#bbsData .CSSbuttonMin {
    height: 28px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
}

/* ─────────────────────────────────────────
   브레드크럼 (.bbs-hd)
───────────────────────────────────────── */
#bbsData .bbs-hd {
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid #e2e8f0;
}
#bbsData .bbs-hd .link {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0; padding: 0;
}
#bbsData .bbs-hd .link li { font-size: 12.5px; color: #94a3b8; }
#bbsData .bbs-hd .link li::after { content: '›'; margin: 0 6px; color: #cbd5e1; }
#bbsData .bbs-hd .link li.last::after { display: none; }
#bbsData .bbs-hd .link a { color: #94a3b8; text-decoration: none; transition: color .2s; }
#bbsData .bbs-hd .link a:hover { color: #0C025B; }

/* ─────────────────────────────────────────
   게시판 타이틀 + 검색 (.bbs-tit)
───────────────────────────────────────── */
#bbsData .bbs-tit {
    overflow: visible;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
#bbsData .bbs-tit h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    padding: 0 0 10px;
    border-bottom: 2px solid #1a1a2e;
    letter-spacing: -.3px;
    line-height: 1.4;
}
#bbsData .bbs-sch fieldset {
    border: none; margin: 0; padding: 0;
    display: flex; align-items: center;
    flex-wrap: wrap; gap: 6px;
}
#bbsData .bbs-sch fieldset legend { display: none; }
#bbsData .bbs-sch label {
    display: inline-flex; align-items: center;
    gap: 4px; font-size: 13px; color: #4a5568; cursor: pointer;
}
#bbsData .bbs-sch label input[type="radio"] {
    accent-color: #0C025B; width: 14px; height: 14px;
}
#bbsData .bbs-sch .key-wrap {
    display: inline-flex; align-items: center;
    gap: 4px; margin-left: 4px;
}
#bbsData .bbs-sch .key-wrap input[type="text"] {
    height: 34px; padding: 0 10px;
    border: 1px solid #e2e8f0; border-radius: 8px;
    font-size: 13px; font-family: inherit;
    color: #1a1a2e; width: 180px;
    transition: border-color .2s;
}
#bbsData .bbs-sch .key-wrap input[type="text"]:focus {
    outline: none; border-color: #0C025B;
    box-shadow: 0 0 0 3px rgba(12,2,91,.08);
}
/* 검색 gif 아이콘 숨기고 가상 버튼 대체 */
#bbsData .bbs-sch .key-wrap > a { display: none; }
#bbsData .bbs-sch .key-wrap::after {
    content: '검색';
    display: inline-flex; align-items: center; justify-content: center;
    height: 34px; padding: 0 14px;
    background: #0C025B; color: #fff;
    font-size: 12.5px; font-weight: 600; font-family: inherit;
    border-radius: 8px; cursor: pointer; letter-spacing: -.2px;
}

/* ─────────────────────────────────────────
   목록 테이블 (.bbs-table-list)
───────────────────────────────────────── */
#bbsData .bbs-table-list {
    background: #fff;
    border-radius: 12px; border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15,23,42,.06);
    overflow: hidden; margin-bottom: 12px;
}
#bbsData .bbs-table-list table {
    width: 100%; border-collapse: collapse;
    font-size: 13px; table-layout: fixed;
}
#bbsData .bbs-table-list caption { display: none; }
#bbsData .bbs-table-list thead th {
    background: #0C025B; color: #fff;
    font-size: 12px; font-weight: 600;
    padding: 11px 10px; text-align: center;
    border-bottom: none; letter-spacing: -.2px;
}
#bbsData .bbs-table-list tbody td {
    padding: 11px 12px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #1a1a2e; font-size: 13px;
    word-break: break-word;
}
#bbsData .bbs-table-list tbody tr:last-child td { border-bottom: none; }
#bbsData .bbs-table-list tbody tr:hover td { background: #fafafe; }
#bbsData .bbs-table-list tbody td a { color: #1a1a2e; text-decoration: none; transition: color .2s; }
#bbsData .bbs-table-list tbody td a:hover { color: #0C025B; text-decoration: underline; }
/* 공지 아이콘 gif 숨김 */
#bbsData .bbs-table-list tbody td img[src*="icon_box_arrow"] { display: none; }

/* ─────────────────────────────────────────
   하단 페이징 & 버튼 (.bbs-btm)
───────────────────────────────────────── */
#bbsData .bbs-btm {
    display: flex; align-items: center;
    justify-content: center; position: relative;
    margin-top: 16px;
}
#bbsData .bbs-btm .bbs-link { position: absolute; right: 0; }
#bbsData .bbs-btm .bbs-paging { flex: 1; display: flex; justify-content: center; }

#bbsData .paging {
    display: flex; justify-content: center;
    align-items: center; gap: 4px;
}
#bbsData .paging a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; padding: 0 6px;
    font-size: 13px; color: #4a5568;
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 8px; transition: all .2s; text-decoration: none;
}
#bbsData .paging a:hover,
#bbsData .paging a.now,
#bbsData .paging .now {
    color: #fff; background: #0C025B; border-color: #0C025B;
}

/* ─────────────────────────────────────────
   게시글 보기 (.bbs-table-view)
───────────────────────────────────────── */
#bbsData .bbs-table-view {
    background: #fff;
    border-radius: 12px; border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15,23,42,.06);
    overflow: hidden; margin-bottom: 10px;
}
#bbsData .bbs-table-view table { width: 100%; border-collapse: collapse; font-size: 13px; }
#bbsData .bbs-table-view caption { display: none; }

/* 제목 헤더 */
#bbsData .bbs-table-view thead th {
    background: #0C025B; color: #fff;
    font-size: 15px; font-weight: 700;
    padding: 16px 20px; text-align: left;
    letter-spacing: -.3px;
}
#bbsData .bbs-table-view thead th .tb-center { text-align: left; color: #fff; padding: 0; }

/* 메타 */
#bbsData .bbs-table-view .cont-sub-des {
    display: flex; flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 20px;
    padding: 10px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12.5px; color: #94a3b8;
}
#bbsData .bbs-table-view .cont-sub-des > div { display: flex; flex-wrap: wrap; gap: 6px 16px; }
#bbsData .bbs-table-view .cont-sub-des span { display: inline-flex; align-items: center; gap: 4px; }
#bbsData .bbs-table-view .cont-sub-des em { font-style: normal; font-weight: 600; color: #64748b; }

#bbsData .bbs-table-view td.line { padding: 0; border-bottom: 1px solid #e2e8f0; }
#bbsData .bbs-table-view td { padding: 0; vertical-align: top; }
#bbsData .bbs-table-view hr { display: block !important; border: none; border-top: 1px solid #e2e8f0; margin: 0; }

/* 본문 */
#bbsData .bbs-table-view .data-bd-cont {
    padding: 22px 20px 30px;
    color: #1a1a2e; line-height: 1.8; font-size: 13.5px;
}
#bbsData .bbs-table-view .btn-report {
    display: block; text-align: right;
    color: #94a3b8; font-size: 12px;
    margin-top: 14px; text-decoration: none; cursor: pointer;
}
#bbsData .bbs-table-view .btn-report:hover { color: #dc2626; }

#bbsData .data-bd-cont .attach { text-align: center; margin-bottom: 14px; }
#bbsData .data-bd-cont .attach img { max-width: 100%; border-radius: 8px; border: 1px solid #e2e8f0; }

#bbsData .data-bd-cont .add_info {
    float: none; overflow: hidden;
    border: 1px solid #e2e8f0; border-radius: 8px;
    width: 100%; padding: 10px 14px;
    line-height: 1.7; margin-bottom: 14px; background: #f8fafc;
}
#bbsData .data-bd-cont .add_title { float: left; width: 26%; font-weight: 700; color: #4a5568; font-size: 12.5px; }
#bbsData .data-bd-cont .add_content { float: left; width: 74%; font-size: 13px; color: #1a1a2e; }

/* ─────────────────────────────────────────
   하단 버튼 (.view-link)
───────────────────────────────────────── */
#bbsData .view-link { margin-top: 10px; }
#bbsData .view-link dl.bbs-link { font-size: 0; }
#bbsData .view-link dl.bbs-link dt { display: none; }
#bbsData .view-link dl.bbs-link dd {
    display: flex; gap: 6px;
    flex-wrap: wrap; justify-content: flex-end;
    margin: 0; padding: 0;
}
#bbsData .view-link dl.bbs-link dd a { font-size: 13px; }

/* ─────────────────────────────────────────
   이전글/다음글 (.list-link)
───────────────────────────────────────── */
#bbsData .list-link {
    list-style: none; padding: 0; margin: 0 0 12px;
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 10px; overflow: hidden;
}
#bbsData .list-link li {
    padding: 10px 16px; border-bottom: 1px solid #f1f5f9;
    font-size: 13px; display: flex; align-items: center; gap: 8px;
}
#bbsData .list-link li:last-child { border-bottom: none; }
#bbsData .list-link li a { color: #4a5568; text-decoration: none; transition: color .2s; }
#bbsData .list-link li a:hover { color: #0C025B; }
#bbsData .list-link span.arrow {
    font-weight: 700; font-size: 12px; color: #94a3b8;
    min-width: 54px; flex-shrink: 0;
    background: none !important; padding: 0 !important;
}

/* ─────────────────────────────────────────
   댓글 목록 (.comment-list)
───────────────────────────────────────── */
#bbsData .comment-box {
    background: #fff;
    border-radius: 12px; border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15,23,42,.06);
    overflow: hidden; margin-bottom: 8px;
}
#bbsData .comment-box table { width: 100%; border-collapse: collapse; }
#bbsData .comment-box caption { display: none; }
#bbsData .comment-list td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9; vertical-align: top;
}
#bbsData .comment-list tr:last-child td { border-bottom: none; }
#bbsData .comment-list .com-name { font-weight: 700; font-size: 13px; color: #1a1a2e; margin-right: 8px; }
#bbsData .comment-list .com-date { font-size: 12px; color: #94a3b8; }
#bbsData .comment-list .com-cont { margin-top: 6px; font-size: 13px; color: #4a5568; line-height: 1.7; }
#bbsData .comment-list .com-cont > img[src*="icon_reple"] { display: none; }
#bbsData .img-comment-file img {
    display: inline-block; width: 180px; height: auto;
    border-radius: 6px; border: 1px solid #e2e8f0; margin-bottom: 8px;
}
#bbsData .comment-list td.tb-center { vertical-align: middle; }
#bbsData .comment-list td.tb-center .bbs-link {
    display: flex; flex-direction: column;
    gap: 4px; align-items: center; font-size: 0;
}
#bbsData .comment-list td.tb-center .bbs-link span {
    display: flex; flex-direction: column; gap: 4px; align-items: center;
}

/* ─────────────────────────────────────────
   댓글 쓰기 (.comment-write)
───────────────────────────────────────── */
#bbsData .comment-write { border-top: 1px solid #e2e8f0; }
#bbsData .comment-write fieldset { border: none; padding: 0; margin: 0; }
#bbsData .comment-write fieldset legend { display: none; }
#bbsData .comment-write table { width: 100%; border-collapse: collapse; }
#bbsData .comment-write .com-wrt-box { padding: 14px 16px; }
#bbsData .comment-write .wrt {
    display: flex; align-items: center;
    flex-wrap: wrap; gap: 8px; margin-bottom: 8px;
}
#bbsData .comment-write .wrt label { font-size: 12.5px; font-weight: 600; color: #64748b; min-width: 68px; }
#bbsData .comment-write .wrt span input[type="text"],
#bbsData .comment-write .wrt span input[type="password"] {
    height: 34px; padding: 0 10px;
    border: 1px solid #e2e8f0; border-radius: 8px;
    font-size: 13px; font-family: inherit; color: #1a1a2e;
    width: 150px; transition: border-color .2s;
}
.input-style2 { width: 150px; }
#bbsData .comment-write .wrt span input:focus {
    outline: none; border-color: #0C025B; box-shadow: 0 0 0 3px rgba(12,2,91,.08);
}
#bbsData .comment-write .wrt_write { display: flex; gap: 8px; align-items: flex-end; padding-bottom: 0; }
#bbsData .comment-write .wrt_write textarea {
    flex: 1;
    min-height: 68px !important; height: 68px !important;
    padding: 9px 12px;
    border: 1px solid #e2e8f0; border-radius: 8px;
    font-size: 13px; font-family: inherit;
    resize: vertical; color: #1a1a2e; transition: border-color .2s;
}
#bbsData .comment-write .wrt_write textarea:focus {
    outline: none; border-color: #0C025B; box-shadow: 0 0 0 3px rgba(12,2,91,.08);
}
/* 댓글 파일 첨부 */
#bbsData .comment-file {
    padding: 9px 12px; border-top: 1px solid #f1f5f9; background: #f8fafc;
}
#bbsData .comment-file .file-info { position: relative; display: none; width: 80px; margin-bottom: 6px; }
#bbsData .comment-file .file-info img { width: 80px; height: 53px; object-fit: cover; border-radius: 6px; }
#bbsData .comment-file .file-info .btn-del {
    position: absolute; right: -8px; top: -6px;
    width: 20px; height: 20px;
    background: #dc2626; border: none; border-radius: 50%;
    font-size: 0; text-indent: -9999px;
    cursor: pointer;
    background-image: none;
}
#bbsData .comment-file .flex-box { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
#bbsData .comment-file .btn_file {
    display: inline-flex; align-items: center;
    height: 30px; padding: 0 12px;
    border: 1px solid #e2e8f0; border-radius: 7px;
    background: #fff; font-size: 12px; color: #4a5568;
    cursor: pointer; text-decoration: none; transition: all .2s;
    background-image: none;
}
#bbsData .comment-file .btn_file:hover { border-color: #0C025B; color: #0C025B; }
#bbsData .comment-file span { font-size: 11.5px; color: #94a3b8; }
#bbsData .comment-file .file-upload { font-size: 12px; color: #4a5568; background: none; letter-spacing: 0; padding: 0; }
#bbsData .comment-file input[type="file"] { display: none; }

/* ─────────────────────────────────────────
   만족도 평가 (.score-box)
───────────────────────────────────────── */
#bbsData .score-box {
    background: #fff; border-radius: 10px;
    border: 1px solid #e2e8f0; overflow: hidden; margin-bottom: 8px;
}
#bbsData .score-box caption { display: none; }
#bbsData .score-box fieldset { border: none; padding: 0; margin: 0; }
#bbsData .score-box fieldset legend { display: none; }

#bbsData .score-write .sco-wrt-box { padding: 16px 20px; }
#bbsData .score-write .sco-wrt-des {
    padding-bottom: 12px; font-size: 13px; color: #1a1a2e; font-weight: 700;
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
#bbsData .score-write .sco-wrt-des label {
    display: inline-flex; align-items: center; gap: 4px;
    cursor: pointer; font-weight: 400; font-size: 13px; color: #4a5568; margin-left: 0;
}
#bbsData .score-write .sco-wrt-des label input {
    width: 15px; height: 15px; accent-color: #0C025B; margin: 0; cursor: pointer;
}
#bbsData .score-write .sco-wrt-txtr { display: flex; gap: 8px; align-items: flex-end; }
#bbsData .score-write .sco-wrt-txtr textarea {
    flex: 1; width: auto !important; height: 70px !important;
    padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 8px;
    font-family: inherit; font-size: 13px; resize: vertical; color: #1a1a2e;
}

#bbsData .score-list { border-top: 1px solid #e2e8f0; }
#bbsData .score-list .sco-lst-box { padding: 16px 20px; }
#bbsData .score-list .sco-lst-des { padding-bottom: 10px; font-size: 13px; color: #1a1a2e; font-weight: 700; }
#bbsData .score-list .sco-lst-txtr { padding: 14px 18px; background: #f8fafc; border-radius: 8px; }
#bbsData .score-list .sco-lst-txtr .sco-date { display: flex; justify-content: space-between; }
#bbsData .score-list .sco-lst-txtr .sco-date span { color: #64748b; font-size: 12.5px; }
#bbsData .score-list .sco-lst-txtr .sco-txt { margin-top: 10px; font-size: 13px; color: #4a5568; line-height: 1.7; }

/* ─────────────────────────────────────────
   관련 상품 (.fixed-img-collist)
───────────────────────────────────────── */
#bbsData .fixed-img-collist { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
#bbsData .fixed-img-collist .list-tit {
    font-size: 13px; font-weight: 700; color: #64748b;
    padding-left: 0; background: none; margin-bottom: 12px;
}
#bbsData .fixed-img-collist ul {
    display: flex; flex-wrap: wrap; gap: 12px;
    padding: 0; margin: 0; list-style: none;
}
#bbsData .fixed-img-collist ul::after { display: none; }
#bbsData .fixed-img-collist ul li { float: none; padding: 0; text-align: center; width: calc(20% - 10px); min-width: 110px; }
#bbsData .fixed-img-collist ul li a { display: block; font-size: 12px; color: #4a5568; text-decoration: none; }
#bbsData .fixed-img-collist ul li a:hover { color: #0C025B; }
#bbsData .fixed-img-collist ul li a span.prd img {
    width: 100%; height: 100px; object-fit: cover;
    margin-bottom: 6px; padding: 2px;
    border: 1px solid #e2e8f0; border-radius: 8px; display: block;
}
#bbsData .fixed-img-collist ul li p { font-size: 12px; color: #1a1a2e; font-weight: 700; padding: 0; }

/* ─────────────────────────────────────────
   상품 정보 (.prd-tinfo)
───────────────────────────────────────── */
#bbsData dl.prd-tinfo {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 14px 16px; border: 1px solid #e2e8f0;
    border-radius: 10px; background: #fff; margin-bottom: 12px; overflow: hidden;
}
#bbsData .prd-tinfo dt,
#bbsData .prd-tinfo dd { position: static; float: none; margin: 0; }
#bbsData .prd-tinfo dt { left: auto; flex-shrink: 0; width: 64px; height: 64px; }
#bbsData .prd-tinfo dt img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid #e2e8f0; }
#bbsData .prd-tinfo dd { flex: 1; width: auto; }
#bbsData .prd-tinfo dd ul { list-style: none; padding: 0; margin: 0; }
#bbsData .prd-tinfo dd ul li { padding-top: 5px; font-size: 13px; color: #4a5568; }
#bbsData .prd-tinfo dd ul li:first-child { padding-top: 0; }
#bbsData .prd-tinfo dd ul li .tit { font-weight: 700; color: #64748b; font-size: 12px; margin-right: 4px; }
#bbsData .prd-tinfo dd ul li a { color: #1a1a2e; text-decoration: none; font-weight: 600; font-size: 13.5px; vertical-align: top; }
#bbsData .prd-tinfo dd ul li a:hover { color: #0C025B; }
#bbsData .prd-tinfo dd ul li img { vertical-align: top; }

/* ─────────────────────────────────────────
   게시글 쓰기 (.bbs-table-write)
───────────────────────────────────────── */
#bbsData .bbs-table-write {
    background: #fff; border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15,23,42,.06);
    overflow: hidden; margin-bottom: 12px;
}
#bbsData .bbs-table-write fieldset { border: none; padding: 0; margin: 0; }
#bbsData .bbs-table-write fieldset legend { display: none; }
#bbsData .bbs-table-write table { width: 100%; border-collapse: collapse; font-size: 13px; }
#bbsData .bbs-table-write caption { display: none; }
#bbsData .bbs-table-write tbody th {
    background: #f8fafc; font-weight: 600; color: #64748b;
    font-size: 12.5px; padding: 11px 16px;
    border-bottom: 1px solid #f1f5f9; border-right: 1px solid #f1f5f9;
    vertical-align: middle; white-space: nowrap;
}
#bbsData .bbs-table-write tbody td {
    padding: 10px 16px; border-bottom: 1px solid #f1f5f9; vertical-align: middle;
}
#bbsData .bbs-table-write tbody tr:last-child th,
#bbsData .bbs-table-write tbody tr:last-child td { border-bottom: none; }

/* 입력 필드 */
#bbsData .bbs-table-write input[type="text"],
#bbsData .bbs-table-write input[type="password"],
#bbsData .bbs-table-write input[type="email"],
#bbsData .bbs-table-write select,
#bbsData .bbs-table-write .MS_input_txt,
#bbsData .bbs-table-write .input_style1,
#bbsData .bbs-table-write .input_style2 {
    height: 36px; padding: 0 11px;
    border: 1px solid #e2e8f0; border-radius: 8px;
    font-size: 13px; font-family: inherit; color: #1a1a2e;
    background: #fff; transition: border-color .2s, box-shadow .2s;
}
#bbsData .bbs-table-write input:focus,
#bbsData .bbs-table-write select:focus {
    outline: none; border-color: #0C025B; box-shadow: 0 0 0 3px rgba(12,2,91,.08);
}
#bbsData .bbs-table-write .input_style1 { width: 100%; max-width: 340px; }
#bbsData .bbs-table-write .input_style2 { width: 100%; max-width: 560px; }
#bbsData .bbs-table-write .input_style3 { background: #f5f5f5; }
#bbsData .bbs-table-write .MS_select { height: 36px; }
#bbsData .bbs-table-write p { text-align: center; margin: 10px 0; }
#bbsData .bbs-table-write .title { line-height: 26px; }
#bbsData .bbs-table-write .title .title_select { padding-top: 5px; }

/* textarea (내용) */
#bbsData .bbs-table-write textarea {
    width: 100% !important; max-width: 100% !important;
    min-height: 220px !important; height: auto !important;
    padding: 10px 12px !important;
    border: 1px solid #e2e8f0 !important; border-radius: 8px !important;
    font-size: 13px !important; font-family: inherit !important;
    color: #1a1a2e !important; resize: vertical !important;
    line-height: 1.7 !important; transition: border-color .2s !important;
    box-sizing: border-box !important;
}
#bbsData .bbs-table-write textarea:focus {
    outline: none !important; border-color: #0C025B !important;
    box-shadow: 0 0 0 3px rgba(12,2,91,.08) !important;
}
#bbsData .bbs-table-write .text_content { padding: 10px 16px !important; }

/* 파일 버튼 */
#bbsData .bbs-table-write .btn_file,
#bbsData .bbs-table-write .btn_gray {
    display: inline-flex; align-items: center;
    height: 34px; padding: 0 14px;
    border: 1px solid #e2e8f0; border-radius: 7px;
    background: #f8fafc; font-size: 12.5px; color: #4a5568;
    cursor: pointer; text-decoration: none; transition: all .2s;
    margin-left: 4px; line-height: 1;
}
#bbsData .bbs-table-write .btn_file:hover,
#bbsData .bbs-table-write .btn_gray:hover { border-color: #0C025B; color: #0C025B; }

/* ─────────────────────────────────────────
   주문번호 조회 (.myorder)
───────────────────────────────────────── */
#bbsData .bbs-table-write .myorder {
    position: relative; display: flex;
    align-items: center; gap: 8px; flex-wrap: wrap;
}
#bbsData .bbs-table-write .myorder .input-group { position: relative; display: inline-flex; align-items: center; }
#bbsData .bbs-table-write .myorder .input-group input[type="text"]:-ms-clear { display: none; }
#bbsData .bbs-table-write .myorder .input-group input[type="text"] { width: 220px; padding-right: 30px; }
#bbsData .bbs-table-write .myorder #ordernumclear {
    position: absolute; right: 8px; top: 50%;
    transform: translateY(-50%);
    font-size: 13px; cursor: pointer; color: #94a3b8;
    width: auto; height: auto; line-height: 1;
}
#bbsData .bbs-table-write .myorder #ordernumclear:hover { color: #dc2626; }

/* 주문 조회 레이어 */
#myorderlayer {
    display: none; position: absolute; top: 0; left: 0;
    width: 660px; background: #fff;
    border: 1px solid #e2e8f0; border-radius: 12px;
    box-shadow: 0 8px 28px rgba(15,23,42,.14);
    z-index: 100; overflow: hidden; padding-bottom: 16px;
}
#myorderlayer .l-close {
    position: absolute; top: 14px; right: 16px;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #f8fafc;
    border: 1px solid #e2e8f0; cursor: pointer;
    text-indent: 0; font-size: 16px; color: #64748b;
    text-decoration: none; transition: background .2s;
    background-image: none;
}
#myorderlayer .l-close::before { content: '×'; }
#myorderlayer .l-close:hover { background: #fee2e2; color: #dc2626; }
#myorderlayer .tit {
    height: auto; line-height: 1.4;
    padding: 18px 24px; border-bottom: 1px solid #e2e8f0;
    color: #1a1a2e; font-size: 17px; font-weight: 800; letter-spacing: -.3px;
}
#myorderlayer .cnt { padding: 16px 24px 0; }
#myorderlayer .cnt .cnt-tab {
    display: flex; gap: 4px; height: auto; margin-bottom: 16px;
}
#myorderlayer .cnt .cnt-tab::after { display: none; }
#myorderlayer .cnt .cnt-tab li {
    float: none; width: auto; height: auto;
    border: 1px solid #e2e8f0; border-radius: 7px;
    background: #fff; margin-left: 0;
}
#myorderlayer .cnt .cnt-tab li a {
    display: block; padding: 7px 16px; line-height: 1.4;
    color: #4a5568; font-size: 12.5px; font-weight: 500;
    text-align: center; background: none; text-decoration: none;
}
#myorderlayer .cnt .cnt-tab li.now { background: #0C025B; border-color: #0C025B; position: static; z-index: auto; }
#myorderlayer .cnt .cnt-tab li.now a { color: #fff; font-weight: 700; }
#myorderlayer .cnt table { border-top: 2px solid #0C025B; width: 100%; border-collapse: collapse; }
#myorderlayer .cnt table thead th {
    padding: 9px 10px; font-size: 12px; color: #64748b;
    font-weight: 700; border-bottom: 1px solid #e2e8f0;
    background: #f8fafc; text-align: center;
}
#myorderlayer .cnt table tbody td {
    padding: 9px 10px; color: #1a1a2e;
    border-bottom: 1px solid #f1f5f9; font-size: 12.5px;
}
#myorderlayer .cnt table tbody td .prd-blue { color: #2563eb; cursor: pointer; }
#myorderlayer .paging { margin-top: 12px; }
#myorderlayer .paging a { min-width: 30px; height: 30px; font-size: 12px; }

/* ─────────────────────────────────────────
   쓰기 하단 버튼 (.bbs-link-btm)
───────────────────────────────────────── */
#bbsData .bbs-link-btm {
    display: flex; justify-content: center;
    gap: 8px; margin-top: 18px; padding: 0;
}
#bbsData .bbs-link-btm dt { display: none; }
#bbsData .bbs-link-btm dd { display: flex; gap: 8px; margin: 0; padding: 0; }
#bbsData .bbs-link-btm a {
    width: auto !important; height: 44px !important;
    font-size: 14px !important; line-height: 1 !important;
    padding: 0 36px !important;
}

/* ─────────────────────────────────────────
   개인정보 동의
───────────────────────────────────────── */
#bbsData .new-privercy-contract { font-size: 13px; line-height: 1.6; margin-bottom: 10px; }
#bbsData .new-privercy-contract p { font-weight: 700; font-size: 13px; color: #1a1a2e; margin: 10px 0 6px; text-align: left; }
#bbsData .privercy-contract textarea {
    width: 100% !important; max-width: 100% !important;
    height: 80px !important; padding: 9px 12px;
    border: 1px solid #e2e8f0; border-radius: 8px;
    font-size: 12px; font-family: inherit;
    background: #f8fafc; color: #64748b; resize: none;
}
#bbsData .privercy-contract-tap { height: auto; margin-bottom: 6px; }
#bbsData .privercy-contract-tap ul {
    display: flex; list-style: none;
    margin: 0 0 8px; padding: 0; border-bottom: 2px solid #e2e8f0;
}
#bbsData .privercy-contract-tap ul li a {
    display: block; padding: 7px 12px;
    font-size: 12px; font-weight: 600; color: #94a3b8;
    text-decoration: none; border-bottom: 2px solid transparent;
    margin-bottom: -2px; transition: all .2s;
}
#bbsData .privercy-contract-tap ul li.sel a,
#bbsData .privercy-contract-tap ul li a:hover { color: #0C025B; border-bottom-color: #0C025B; }
#bbsData .privercy-agree { margin: 8px 0; display: flex; gap: 14px; }
#bbsData .privercy-agree label { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #4a5568; cursor: pointer; }
#bbsData .privercy-agree label input[type="radio"] { accent-color: #0C025B; width: 15px; height: 15px; }

/* ─────────────────────────────────────────
   비밀번호 확인 (.bbs-table-pwd)
───────────────────────────────────────── */
#bbsData .bbs-table-pwd {
    background: #fff; border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15,23,42,.06);
    overflow: hidden; margin-bottom: 14px; max-width: 460px;
}
#bbsData .bbs-table-pwd fieldset { border: none; padding: 0; margin: 0; }
#bbsData .bbs-table-pwd fieldset legend { display: none; }
#bbsData .bbs-table-pwd table { width: 100%; border-collapse: collapse; font-size: 13px; }
#bbsData .bbs-table-pwd caption { display: none; }
#bbsData .bbs-table-pwd tbody th {
    background: #f8fafc; font-weight: 600; color: #64748b;
    font-size: 12.5px; padding: 14px 16px;
    border-right: 1px solid #f1f5f9;
    width: 130px; white-space: nowrap; vertical-align: middle;
}
#bbsData .bbs-table-pwd tbody td { padding: 12px 16px; vertical-align: middle; }
#bbsData .bbs-table-pwd input[type="password"] {
    height: 36px; padding: 0 11px; width: 200px;
    border: 1px solid #e2e8f0; border-radius: 8px;
    font-size: 13px; font-family: inherit; color: #1a1a2e;
    transition: border-color .2s, box-shadow .2s;
}
#bbsData .bbs-table-pwd input[type="password"]:focus {
    outline: none; border-color: #0C025B; box-shadow: 0 0 0 3px rgba(12,2,91,.08);
}
#bbsData .pwd-link {
    margin-top: 14px; text-align: center;
    display: flex; gap: 6px; justify-content: center;
}

/* ─────────────────────────────────────────
   반응형
───────────────────────────────────────── */
@media (max-width: 1120px) {
    #bbsData { max-width: 100%; padding: 20px 24px 50px; }
}
@media (max-width: 768px) {
    #bbsData { padding: 16px 16px 40px; }
    #bbsData .page-body { padding: 14px 16px 20px; }
    #bbsData .bbs-tit { flex-direction: column; align-items: flex-start; gap: 10px; }
    #bbsData .bbs-btm { flex-direction: column; gap: 10px; }
    #bbsData .bbs-btm .bbs-link { position: static; }
    #bbsData .fixed-img-collist ul li { width: calc(33.3% - 8px); }
    #myorderlayer { width: calc(100vw - 32px); left: 0 !important; }
    #bbsData .bbs-table-write .myorder .input-group input[type="text"] { width: 160px; }
    #bbsData .bbs-table-write .input_style1,
    #bbsData .bbs-table-write .input_style2 { max-width: 100%; }
    #bbsData .comment-write .wrt { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    #bbsData { padding: 12px 12px 32px; }
    #bbsData .bbs-table-list thead th { font-size: 11px; padding: 9px 6px; }
    #bbsData .bbs-table-list tbody td { padding: 9px 8px; font-size: 12px; }
    #bbsData dl.prd-tinfo { flex-direction: column; }
    #bbsData .fixed-img-collist ul li { width: calc(50% - 6px); }
    #bbsData .bbs-link-btm a { padding: 0 20px !important; font-size: 13px !important; }
    #bbsData .bbs-table-pwd { max-width: 100%; }
}