/***** Color Chart *****/
/*
Normal Text : #342f2d;
Hover Text : #093696;
*/
/***********************/

.product_view_wrapper2 {
    background: linear-gradient(0deg, rgba(5, 15, 35, 0.1), rgba(5, 15, 35, 0.1)), url("/img/bg_product_view.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.product_box_wrapper {
    max-width: 1300px;
    margin: 0 auto;
    /*padding-bottom: 150px;*/
    flex-direction: row;
    display: flex;
    gap: 30px;
}

.product_white_box_left {
    background: white;
    width: 550px;
    border-radius: 40px;
    padding: 80px 60px;
}
.product_white_box_left .button_area.inquiry {
    text-align: left !important;
    max-width: revert !important;
    width: revert !important;
}

.product_white_box_left .button_area.inquiry a {
    margin-top: revert !important;
    margin-bottom: 80px;
}

.product_title_wrapper {
    display: inline-block;
}

.product_category_name {
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    color: #0A6FAE;
}

.product_title_wrapper h3 {
    margin-top: 20px;
    margin-bottom: 40px;
    font-weight: 700;
    font-size: 60px;
    text-align: left;
}

.product_table_wrapper {
    width: 100%
}

.product_table_wrapper table {
    width: 100%;
    background: #F5F7FA;
    border-collapse: collapse;
}

.product_table_wrapper table tr {
    border-bottom: 1px solid #D2D5DD;
}

.product_table_wrapper table tr:last-child {
  border-bottom: none;
}

.product_table_wrapper .bottom_spec_table tr {
    border-bottom: 1px solid;
}

.product_table_wrapper .bottom_spec_table tr:last-child {
  border-bottom: 2px solid;
}

.bottom_spec_table {
    background: none !important;
}

.bottom_spec_table thead {
    background: #0A6FAE;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.bottom_spec_table thead tr th {
    padding: 23px 10px;
}

.bottom_spec_table tr td {
    text-align: center;
    font-weight: 400;
    font-size: 18px;
    padding: 23px 10px;
}


.product_table_wrapper table tr .spec_title {
    padding: 10px;
    width: 30%;
    text-align: center;
    font-weight: 500;
    font-size: 20px;
}

.product_table_wrapper table tr .spec_content {
    padding: 10px;
    font-weight: 500;
    font-size: 20px;
    color: #949494;
}

.product_white_box_right {
    background: white;
    width: 800px;
    border-radius: 40px;
    padding: 80px 60px;
}

.cke_notification.cke_notification_warning { display: none; }

.board {
    display: inline-flex;
    flex-direction: column;
    padding-right: 30px;
    gap: 30px;

    max-width: 1300px;
}

.board_header {
    display: flex;
    width: 100%;
    margin: 50px auto 0;
}

.board_title {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    padding: 50px;
    align-items: center;

    font-weight: 500;
    font-size: 30px;
    line-height: 2.6rem;

    /*border-top: 2px solid black;*/
    border-bottom: 1px solid #d8d8d8;

    gap: 24px;
}

.board .board_info {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;

    font-weight: 500;
    font-size: 17px;
    color: #5d5d5d;
}

.board .board_info input {
    border: transparent;
    background-color: transparent;
    width : 100px;
    height :fit-content;

    font-size: 17px;
    color: #5d5d5d;
    text-align: center; 
}

.board .board_info span:not(:last-child)::after{
    display: inline-block;
    width: 30px;
    text-align: center;
    content: "|";
}

.board_cnt i {
    color:#d8d8d8;
}

.board_subtitle textarea {
    width: 100%;
    resize: none;
    border-left: 5px solid var(--main-color);
    padding-left: 10px;

    text-align: left;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}

.board_subtitle textarea:disabled {
    background-color: transparent;
    border: transparent;
    border-left: 5px solid var(--main-color);
}

.board_product_desc {
    color: #5d5d5d;
    font-size: 14px;
    line-height: 22px;
    padding: 20px;
    border: 1px solid #dfdfdf;
}

.board_content {
    width: 100%;
    padding-bottom: 50px;
    --border-bottom: 1px solid #5d5d5d;
}

.board_content p {
    font-size: 15px;
    line-height: 1.5rem;
    max-width: 100%;
}

.board_content p img {
    max-width: 100%;
    height: fit-content !important;
}

.board_content span {
    line-height: 1.6rem;
}

.board_content ul {
    display: inline-flex;
    list-style-type: disc;
    list-style-position: inside;
    flex-direction: column;
}

.board_content iframe {
    border: none;
}

@media screen and (max-width: 640px) {
    #password {
        margin-top: 30px !important;
    }

    .private_div {
        display: block !important;
    }

    .board .board_info {
        font-size: 15px;
    }
    
    .board .board_info input {
        font-size: 15px;
        width: 85px;
    }

    .board .board_info span:not(:last-child)::after{
        width: 20px;
    }

    .board_content iframe {
        width: 100% !important;
    }
}

.fileList {
    display: inline-flex;
    flex-direction: column;
}

.fileList .file a {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    padding: 7px 0;
    gap: 10px;
}

.fileList .file a span {
    font-size: 14px;
    line-height: 18px;
}

.img-thumbnail {
    width: 80px;
    height: 80px;
    padding: 10px;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
}

.fileList i {
    margin-right: 7px;
    font-size: 18px;
    color: #d8d8d8;
}

.fileList a:hover i {
    color: #bfd5de;
}

.btnFileDel {
    background-color: transparent;
    font-size: 10px;
    color: red;
}

/** 이전글/다음글 표기 */

.prevNextBoard {
    border-top: 1px solid #d8d8d8;
}

.prevBoard, .nextBoard {
    display: inline-flex;
    align-items: center;
    width: 100%;
    padding: 30px;
    height: 60px;
    background: #F5F5F7;
    border-radius: 5px;
    margin: 5px;
}

.prevNextTitle {
    color: #969696;
    font-weight: 500;
    font-size: 20px;
}

.prevTitle, .nextTitle,
.prevNoTitle, .nextNoTitle {
    margin-left: 40px;
    font-weight: 500;
    font-size: 20px;
}
.prevNoTitle, .nextNoTitle {
    color: #a8a8a8;
}

.board_icon_area {
    margin: 30px auto;
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

@media screen and (max-width: 860px) {
    .board-write.inquiryWrite {
        padding: 20px !important;
    }

    .board {
        padding: 0 5px;
        gap: 20px;
    }

    .board_header {
        display: flex;
        width: 100vw;
        margin: 50px auto 0;
        padding: 0 15px;
    }

    .board_title {
        width: 100%;
        padding: 30px 20px;
        font-size: 24px;
        line-height: 2.6rem;
        word-break: break-all;
    }

    .prevBoard, .nextBoard {
        padding: 30px 20px;
    }

    .prevTitle, .nextTitle,
    .prevNoTitle, .nextNoTitle {
        font-size: 17px;
        margin-left: 30px;

        display: inline-block;
        overflow: hidden;
        max-width: 70%;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

@media screen and (max-width: 640px) {
    .attach_file_button_area.inquiryWrite {
        flex-direction: column;
    }

    .attach_file_button.inquiryWrite {
        margin-left: 0px !important;
        margin-bottom: 25px;
    }

    .board_subtitle textarea {
        width: 100%;
        resize: none;
        padding-left: 7px;
    
        font-weight: 600;
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 0;
        color: #093696;
    }

    .board_content p {
        font-size: 14px;
        line-height: 22px;
        letter-spacing: 0;
        word-break: break-all;
    }

    .board_content p img{
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Board Write */

.board-write {
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
}

.board-write.inquiryWrite {
    background: #FAFBFD;
    border-radius: 30px;
    padding: 90px;
}

#boardForm {
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
}

.board-write.inquiryWrite #boardForm {
    gap: 25px;
}

.board-write input[type="text"] {
    height: 32px;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #CCCED1;
}

.board-write select {
    padding: 7px;
    font-size: 14px;
    border: 1px solid #CCCED1;
}

.board-write select:disabled {
    background-color: lightgray;
}

.board-write input[type="text"] {
    width: 100%;
    padding: 7px;
    font-size: 14px;
    letter-spacing: -2%;
    border: 1px solid #CCCED1;
}

.board-write .board_info {
    display: inline-flex;
    flex-direction: row;
    width: 100%;
}

.board-write .board_info input {
    border: transparent;
    background-color: transparent;
    width : 96px;
    height :fit-content;

    font-weight: 500;
    font-size: 12px;
    color: #5d5d5d;
    text-align: center; 
}

.board-write .board_info .board_vcnt {
    display: inline-block;
    width: 80px;
    height :fit-content;
    padding: 7px;

    font-weight: 500;
    font-size: 12px;
    color: #5d5d5d;
    text-align: center; 
}

.board-write .board_info span:nth-child(-n+5)::after {
    display: inline-block;
    width: 20px;
    text-align: center;
    content: "|";
}

.board-write textarea {
    width: 100%;
    font-size: 14px;
    border: 1px solid #CCCED1;
}

.board-write .board_radio {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

.board-write input[type=radio]{                
    appearance:none;              
    width: 13px;                       
    height: 13px;                       
    border: 1px solid #d6d6d6;  
    border-radius: 50%;              
}
    
.board-write input[type=radio]:checked{      
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: var(--main-color);
    border: 2px solid #fff; 
    outline: 1px solid var(--main-color);
}

.board-write input[type=radio]:checked:disabled{      
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: gray;
    border: 2px solid #fff; 
    outline: 1px solid gray;
}

.board-write input[type="checkbox"] {
    accent-color: var(--main-color);
}

.board-write .attach_file_button_area {
    width: 100%;
    position: relative;
    display: inline-flex;
}

.board-write .attach_file_button_area .attach_file_button {
    margin-left: 10px;
}

.board-write .attach_file_button_area .attach_file_button a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 18px;
    width: 18px;
    height: 18px;
    border: 1px solid #a8a8a8;
    border-radius: 4px;
}

.board-write .multipleFile:nth-child(n+2) {
    margin-top: 5px;
}

.board_group {
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 20px;
    padding: 30px;
    row-gap: 30px;

    border: 1px solid #E3E5E8;
}

.board-write.inquiryWrite .board_group {
    border: revert;
    border-radius: revert;
    padding: revert;
    margin-bottom: 20px;
}

.board-write.inquiryWrite .title_md {
    font-size: 20px;
    height: 20px;
    line-height: 20px;
    margin-bottom: 25px;
}

.board-write.inquiryWrite .essential_mark {
    color: #0A6FAE;
}

.board_group label{
    margin-left: 20px;
    margin-right: 50px;
}

.board-write.inquiryWrite .board_group label {
    font-size: 18px;
    font-weight: 400;
    line-height: 18px;
    margin-left: 10px;
    margin-right: 30px;
    row-gap: 40px
}

.board-write.inquiryWrite input[type="text"] {
    width: 100%;
    padding: 7px;
    height: 55px;
    font-size: 18px;
    letter-spacing: -2%;
    border: 1px solid #CCCED1;
    border-radius: 5px;

}

.board-write.inquiryWrite #content {
    border-radius: 5px;
}

.board-write.inquiryWrite .width-50:nth-child(odd) {
    padding-right: 40px;
}

.inquiry_title {
    font-weight: 500;
    width: 15%;
    font-size: 14px;
    line-height: 32px;
}

.board_desc {
    display: inline-block;
    padding: 5px;
    border: 1px solid #edf1f7;
    background-color: #f9f9f9;
    font-size: 12px;
    letter-spacing: -0.5px;
}

@media screen and (max-width: 640px) {
    .board_group .width-50 {
        width: 100%;
        word-break: keep-all;
    }

    .board_group .width-50:nth-child(odd) {
        padding-right: 0;
    }

    .board-write .inquiry_title {
        width: 20%;
        margin-right: 10px;
        word-break: keep-all;
    }
}

/* Board Bottom Area */
.board_bottom {
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
}

.board_keyword {
    margin-bottom: 20px;
}

.board_keyword span::before{
    content: "#";
}

.board_keyword span{
    display: inline-block;
    padding: 7px 12px;
    margin-right : 5px;
    margin-bottom: 10px;
    background-color: rgba(85, 141, 226, 0.15);
    border-radius: 100px;

    font-weight: 400;
    font-size: 12px;
    color: var(--main-color);
}

.board_url {
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    font-size: 14px;
}

.board_url span{
    display: inline-block;
    width: 100%;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    padding: 0 0 15px;
    line-height: 24px;

    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0;
    color: #5d5d5d;
}

.board_url i{
    display: inline-block;
    margin-right: 5px;
    padding: 5px;
    background-color: #e2efff;
    border-radius: 20px;
    font-size: 15px;
    color: var(--main-color);
}

.board_url a{
    padding-left: 5px;
    color: #5d5d5d;
}

.board-write .terms_wrap {
    width: 100%;
    text-align: center;
    margin: 30px auto;
}

.board_button {
    display: inline-flex;
    justify-content: flex-end;
    gap: 10px;
}

.board-write .bigLoginBtn {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 48px;
    margin: 0 auto 250px;
    padding: 12px 0px;

    outline: none;
    border: none;
    background: var(--main-color);
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.board-write.inquiryWrite .bigLoginBtn {
    margin: 0 auto;
}

.private_title {
    font-weight: 300;
    font-size: 20px;
}

#privateCheck1, #privateCheck2 {
    width: 25px;
    height: 25px;
    border: 1px solid #B6B6B6;
    border-radius: 3px;
}

.private_label {
    font-weight: 300 !important;
    font-size: 20px !important;
}

#password {
    font-weight: 300;
    font-size: 20px;
    width: 265px;
    border: 0px;
    border-bottom: 1px solid #B6B6B6 !important;
    background-color: unset;
}

.private_div {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.bottom_spec_table thead th {
    position: relative;
    border-right: none;
}

.bottom_spec_table thead th {
    position: relative;
}

.bottom_spec_table thead th:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, .6);
}

/* === SPEC: 모바일 가로 스크롤 래퍼 === */
.spec-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

/* 테이블이 가로로 넘치게 최소 너비 확보 (컬럼 6개 기준) */
.spec-scroll .bottom_spec_table {
  table-layout: fixed;
  min-width: 1000px; /* 필요 시 760~980px 사이로 조정 */
  width: 100%;
}

/* 줄바꿈 방지 -> 가로 스크롤 유도 */
.spec-scroll .bottom_spec_table th,
.spec-scroll .bottom_spec_table td {
  white-space: nowrap;
}

/* (선택) 스크롤바 다듬기 */
.spec-scroll::-webkit-scrollbar { height: 8px; }
.spec-scroll::-webkit-scrollbar-thumb { background: #d0d0d0; border-radius: 4px; }

.spec-h3 {
    margin-top: 0px;
}

@media (max-width: 640px) {
    .spec-h3 {
        font-size: 30px;
        font-weight: 500;
    }
}
