/* BASIC css start */
/* ============================================
   게시판 상세 보기 - 모바일 디자인
   ============================================ */

#review-board-type {
    padding: 0 16px;
    background: #fff;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
}

/* ============================================
   게시판 타이틀
   ============================================ */
#review-board-type .board-header {
    padding: 28px 0 20px;
    border-bottom: 1px solid #1a1a1a;
}

#review-board-type .board-title {
    margin: 0;
    padding: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

/* ============================================
   상품 정보 (리뷰일 경우)
   ============================================ */
#review-board-type .rbItem {
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

#review-board-type .rbItem dl {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}

#review-board-type .rbItem dl dt {
    flex: none;
    width: 100px;
    margin: 0;
    padding: 0;
}

#review-board-type .rbItem dl dt img {
    width: 100%;
    height: auto;
    display: block;
}

#review-board-type .rbItem dl dd {
    margin: 0;
    line-height: 1.5;
}

#review-board-type .rbItem dl dd.subject {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    word-break: break-all;
    color: #1a1a1a;
}

#review-board-type .rbItem dl dd.link-view a {
    display: inline-block;
    width: 90px;
    height: 28px;
    margin-top: 8px;
    line-height: 26px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    text-decoration: none;
    box-sizing: border-box;
}

/* ============================================
   게시글 헤더 (제목 + 작성자 정보)
   ============================================ */
#review-board-type .view-header {
    position: relative;
    padding: 20px 0 16px;
    border-bottom: 1px solid #e5e5e5;
}

#review-board-type .view-title {
    margin: 0 0 12px;
    padding: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    word-break: break-all;
}

#review-board-type .view-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

#review-board-type .view-meta-left {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}

#review-board-type .view-meta-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

#review-board-type .view-meta .rb_name {
    color: #555;
}

#review-board-type .view-meta .rb_name img {
    vertical-align: middle;
    margin-right: 4px;
    max-height: 14px;
}

#review-board-type .view-meta .view-date::before {
    content: "|";
    margin: 0 8px;
    color: #ddd;
}

#review-board-type .view-meta .view-recommend-count::before {
    content: "|";
    margin-right: 12px;
    color: #ddd;
}

#review-board-type .view-meta-right .view-recommend-count {
    position: relative;
    padding-left: 0;
}

#review-board-type .view-meta-right .view-recommend-count::before {
    content: "";
    margin: 0;
}

#review-board-type .view-ordernum {
    margin-top: 8px;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

#review-board-type .view-rating {
    margin-top: 8px;
    font-size: 13px;
    color: #f51d30;
}

#review-board-type .view-rating .rb_star {
    display: inline-block;
    margin-right: 8px;
}

#review-board-type .btn-report {
    position: absolute;
    right: 0;
    bottom: 8px;
    font-size: 12px;
    color: #999;
    text-decoration: none;
    z-index: 1;
}

/* ============================================
   게시글 본문
   ============================================ */
#review-board-type .rbContent {
    position: relative;
    padding: 20px 0;
    line-height: 1.6;
    font-size: 14px;
    color: #1a1a1a;
    word-break: break-all;
    border-bottom: 1px solid #e5e5e5;
}

#review-board-type .rbContent img {
    max-width: 100%;
    height: auto;
}

#review-board-type .rbContent .rb_addInfo {
    margin-bottom: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

#review-board-type .rbContent .rb_addInfo dl {
    display: flex;
    padding: 10px 12px;
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 13px;
}

#review-board-type .rbContent .rb_addInfo dl:last-child {
    border-bottom: none;
}

#review-board-type .rbContent .rb_addInfo dl dt {
    flex: none;
    width: 80px;
    margin: 0;
    padding: 0;
    font-weight: 500;
    color: #555;
}

#review-board-type .rbContent .rb_addInfo dl dd {
    flex: 1;
    margin: 0;
    padding: 0;
    min-height: 20px;
    color: #1a1a1a;
}

#review-board-type .rbContent .rb_thumbs {
    text-align: center;
    margin-bottom: 16px;
}

#review-board-type .rbContent .rb_text {
    min-height: 80px;
    padding-bottom: 16px;
}

/* SNS 버튼 */
#review-board-type .rbContent .rb_icons {
    padding-top: 16px;
    text-align: right;
}

#review-board-type .rbContent .rb_icons img {
    width: 28px;
    margin-left: 4px;
}

/* 추천(좋아요) 하트 버튼 */
#review-board-type .rbContent .rb_like {
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
}

#review-board-type .rbContent .rb_like .btn-like {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 50%;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.15s;
}

#review-board-type .rbContent .rb_like .btn-like:hover {
    background: #f5f5f5;
}

#review-board-type .rbContent .rb_like .btn-like svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   관련 상품
   ============================================ */
#review-board-type .rbRelations {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

#review-board-type .rbRelations h5 {
    margin: 0 0 12px;
    padding: 0;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

#review-board-type .rbRelations ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#review-board-type .rbRelations ul li {
    flex: 0 0 calc(33.333% - 6px);
    font-size: 12px;
    list-style: none;
}

#review-board-type .rbRelations ul li a {
    display: block;
}

#review-board-type .rbRelations ul li img {
    width: 100%;
    height: auto;
    display: block;
}


/* ============================================
   수정/삭제/답변 버튼 영역
   ============================================ */
#review-board-type .small-btns {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    padding: 20px 0 0;
}

#review-board-type .rb_action_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    text-decoration: none;
    box-sizing: border-box;
}

/* ============================================
   하단 글쓰기 / 목록보기 버튼 (풀와이드)
   ============================================ */
#review-board-type .form-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 0 24px;
}

#review-board-type .form-buttons .btn_Submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    text-decoration: none;
    box-sizing: border-box;
    order: 1;
}

#review-board-type .form-buttons .btn_List {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    text-decoration: none;
    box-sizing: border-box;
    order: 2;
}

/* ============================================
   다른 게시글 (이전/다음, 리스트)
   ============================================ */
#review-board-type .board-Chain {
    padding: 0;
    margin-top: 20px;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #e5e5e5;
}

#review-board-type .board-Chain ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#review-board-type .board-Chain li {
    margin: 0;
    padding: 14px 4px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 13px;
    line-height: 1.5;
    list-style: none;
}

#review-board-type .board-Chain li:last-child {
    border-bottom: none;
}

#review-board-type .board-Chain li .bold {
    display: inline-block;
    min-width: 60px;
    font-weight: 600;
    margin-right: 4px;
    color: #1a1a1a;
}

#review-board-type .board-Chain li a {
    color: #555;
    text-decoration: none;
}

/* ============================================
   다른 게시글 리스트 (board_list 페이지와 동일 스타일)
   ============================================ */
#review-board-type .board-list {
    margin-top: 20px;
    border-top: 1px solid #1a1a1a;
}

#review-board-type .board-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#review-board-type .board-list li {
    display: flex;
    align-items: center;
    padding: 14px 4px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    line-height: 1.5;
    list-style: none;
    color: #1a1a1a;
}

#review-board-type .board-list li .bl_link {
    flex: 1;
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    word-break: break-all;
    min-width: 0;
}

#review-board-type .board-list li .bl_depth {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
    color: #888;
}

#review-board-type .board-list li .bl_depth .fa-level-up {
    font-size: 14px;
}

#review-board-type .board-list li .bl_product {
    color: #1a1a1a;
    margin-right: 2px;
}

#review-board-type .board-list li .bl_cmtCount {
    color: #888;
    font-size: 13px;
    margin-left: 2px;
}

/* 검색 결과 없음 */
#review-board-type .board-list li.none {
    justify-content: center;
    padding: 30px 0;
    font-size: 13px;
    color: #999;
}
/* BASIC css end */

