/* BASIC css start */
/* ===== 게시판 목록 리뉴얼 (구매후기 등 일반 게시판) ===== */

#bbsData {
    font-family: 'Pretendard Variable', 'Pretendard', 'Malgun Gothic', sans-serif;
    font-size: 14px; color: #111;
    padding-bottom: 60px;
}
#bbsData .page-body { padding: 0; }
#bbsData .tb-center { text-align: center; }
#bbsData .tb-left   { text-align: left; }

/* ===== 게시판 탭 ===== */
#bbsData .bbs-hd {
    margin-bottom: 0;
    border-bottom: 2px solid #111;
}
#bbsData .bbs-hd .link {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 0;
}
#bbsData .bbs-hd .link li a {
    display: inline-block; padding: 10px 20px;
    font-size: 13px; font-weight: 600; color: #888;
    text-decoration: none; border-bottom: 2px solid transparent;
    margin-bottom: -2px; transition: all 0.15s;
}
#bbsData .bbs-hd .link li a:hover { color: #111; }
#bbsData .bbs-hd .link li.last a,
#bbsData .bbs-hd .link li.now a {
    color: #111; border-bottom-color: #111; font-weight: 700;
}

/* ===== 게시판명 + 글쓰기 버튼 ===== */
#bbsData .bbs-title-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0 12px;
}
#bbsData .bbs-tit {
    font-size: 18px; font-weight: 700;
    color: #111; letter-spacing: -0.3px;
}
#bbsData .btn-write {
    display: inline-block; height: 34px; line-height: 34px;
    padding: 0 18px;
    background: #111; color: #fff;
    font-size: 12px; font-weight: 700;
    border-radius: 4px; text-decoration: none;
    transition: background 0.15s;
}
#bbsData .btn-write:hover { background: #333; }

/* ===== 검색 폼 ===== */
#bbsData .bbs-sch {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: #f8f8f8; border: 1px solid #e8e8e8;
    border-radius: 6px;
}
#bbsData .bbs-sch fieldset { border: none; padding: 0; }
#bbsData .bbs-sch fieldset legend { display: none; }
#bbsData .bbs-sch {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
#bbsData .sch-radios {
    display: flex; gap: 12px; align-items: center;
}
#bbsData .sch-radios label {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; color: #555; cursor: pointer;
}
#bbsData .sch-radios label input { accent-color: #111; }
#bbsData .sch-input-wrap {
    display: flex; gap: 6px; flex: 1;
}
#bbsData .sch-input-wrap input[type="text"] {
    flex: 1; height: 34px; line-height: 34px;
    padding: 0 12px;
    border: 1px solid #d0d0d0; border-radius: 4px;
    font-size: 13px; color: #111;
    font-family: 'Pretendard Variable', 'Pretendard', 'Malgun Gothic', sans-serif;
    transition: border-color 0.15s;
}
#bbsData .sch-input-wrap input:focus { border-color: #111; outline: none; }
#bbsData .btn-sch {
    display: inline-block; height: 34px; line-height: 34px;
    padding: 0 16px; white-space: nowrap;
    background: #111; color: #fff;
    font-size: 12px; font-weight: 700;
    border-radius: 4px; text-decoration: none;
    transition: background 0.15s;
}
#bbsData .btn-sch:hover { background: #333; }

/* ===== 게시글 테이블 ===== */
#bbsData .bbs-table-list {
    border: 1px solid #e8e8e8;
    border-radius: 6px; overflow: hidden;
}
#bbsData .bbs-table-list table {
    width: 100%; border-collapse: collapse;
}
#bbsData .bbs-table-list thead th {
    padding: 11px 10px;
    font-size: 12px; font-weight: 700; color: #888;
    background: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    text-align: center;
}
#bbsData .bbs-table-list tbody tr {
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.1s;
}
#bbsData .bbs-table-list tbody tr:last-child { border-bottom: none; }
#bbsData .bbs-table-list tbody tr.row-post:hover { background: #fafafa; }

#bbsData .bbs-table-list tbody td {
    padding: 11px 10px;
    font-size: 13px; color: #444;
    vertical-align: middle;
}

/* 번호 열 */
#bbsData .bbs-table-list tbody td:first-child {
    font-size: 12px; color: #bbb;
}

/* 공지 뱃지 */
#bbsData .icon-notice {
    display: inline-block; padding: 2px 6px;
    background: #111; color: #fff;
    font-size: 10px; font-weight: 700;
    border-radius: 3px;
}
#bbsData .row-notice td { background: #fafafa; }

/* 제목 링크 */
#bbsData .bbs-table-list tbody td a {
    color: #333; text-decoration: none;
    font-size: 13px;
}
#bbsData .bbs-table-list tbody td a:hover { color: #d4af6a; }

/* 상품 링크 */
#bbsData .link-product {
    font-size: 12px; color: #888;
    margin-right: 4px;
}

/* 댓글 수 */
#bbsData .cnt-comment {
    font-size: 12px; color: #aaa; margin-left: 2px;
}

/* 삭제된 게시물 안내 */
#bbsData .del-notice {
    font-size: 11px; color: #e03030; margin-bottom: 4px;
}

/* 작성자 */
#bbsData .bbs-table-list tbody td .tb-center {
    font-size: 12px; color: #666;
}

/* 날짜 */
#bbsData .bbs-table-list tbody tr td:nth-last-child(2) {
    font-size: 12px; color: #aaa;
}

/* 조회수 */
#bbsData .bbs-table-list tbody tr td:last-child {
    font-size: 12px; color: #bbb;
}

/* 상품 이미지 */
#bbsData .bbs-table-list tbody td img[height="50"] {
    width: 50px; height: 50px; object-fit: cover;
    border-radius: 4px; border: 1px solid #e8e8e8;
    display: block; margin: 0 auto;
}

/* ===== 하단 글쓰기 ===== */
#bbsData .bbs-link-btm {
    display: flex; justify-content: flex-end;
    margin-top: 12px;
}

/* ===== 페이징 ===== */
#bbsData .paging-wrap {
    margin-top: 20px;
}
#bbsData .paging {
    display: flex; justify-content: center; align-items: center;
    gap: 4px; list-style: none; padding: 0; margin: 0;
}
#bbsData .paging li a,
#bbsData .paging li strong {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; padding: 0 6px;
    font-size: 13px; font-weight: 500; color: #666;
    border: 1px solid #e8e8e8; border-radius: 4px;
    text-decoration: none; background: #fff; transition: all 0.15s;
}
#bbsData .paging li a:hover { border-color: #111; color: #111; }
#bbsData .paging li.current strong {
    background: #111; color: #fff; border-color: #111; font-weight: 700;
}
#bbsData .paging li.first a,
#bbsData .paging li.last a,
#bbsData .paging li.prev a,
#bbsData .paging li.next a { color: #bbb; font-size: 16px; }
#bbsData .paging li.first a:hover,
#bbsData .paging li.last a:hover,
#bbsData .paging li.prev a:hover,
#bbsData .paging li.next a:hover { color: #111; }

/* gif 검색 버튼 숨김 */
#bbsData .key-wrap a img { display: none; }
/* gif 아이콘 숨김 */
#bbsData img[src*="icon_box_arrow"] { display: none; }

/* 번호·날짜·조회 열 — 줄바꿈 방지 */
#bbsData .bbs-table-list tbody td:first-child,
#bbsData .bbs-table-list tbody tr td:nth-last-child(2),
#bbsData .bbs-table-list tbody tr td:last-child,
#bbsData .bbs-table-list thead th:first-child,
#bbsData .bbs-table-list thead th:nth-last-child(2),
#bbsData .bbs-table-list thead th:last-child {
    white-space: nowrap;
}
/* BASIC css end */

