@charset "utf-8";
/**
 * gc_basic - 자연으로 Green Circle 스타일 게시판 스킨
 * 홈페이지(메인) 분위기와 통일
 */

/* 테마 색상 (green-theme.css 변수와 동일, 미로드 시 대비) */
#bo_gall.gc-gallery,
#bo_list,
#bo_v,
#bo_w,
#bo_vc {
    --gc-primary: #1565C0;
    --gc-primary-dark: #0d47a1;
    --gc-primary-light: #42a5f5;
    --gc-gold: #c9a227;
    --gc-gold-light: #d4b84a;
    --gc-cream: #f8f5e6;
    --gc-border: #bbdefb;
    --gc-bg: #fafaf8;
}

/* ===== 갤러리 목록 ===== */
#bo_gall h2 { margin: 0; padding: 0; width: 1px; height: 1px; font-size: 0; line-height: 0; overflow: hidden; }
#bo_gall #bo_btn_top { margin: 0 0 20px; overflow: hidden; }
#bo_gall #bo_list_total {
    background: var(--gc-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.9em;
    float: left;
    line-height: 1.4;
}
#bo_gall .btn_bo_user { float: right; margin: 0; padding: 0; list-style: none; }
#bo_gall .btn_bo_user li { float: left; margin-left: 8px; }
#bo_gall .btn_b01 { background: var(--gc-primary-light); color: #fff; border: none; padding: 8px 16px; border-radius: 6px; display: inline-block; }
#bo_gall .btn_b01:hover { background: var(--gc-primary); color: #fff; }
#bo_gall .btn_b02 { background: var(--gc-gold); color: #fff; border: none; padding: 8px 16px; border-radius: 6px; display: inline-block; }
#bo_gall .btn_b02:hover { background: var(--gc-gold-light); color: #fff; }
#bo_gall .btn_admin { background: #5a5a5a; color: #fff; border: none; padding: 8px 16px; border-radius: 6px; }
#bo_gall .btn_admin:hover { background: #333; color: #fff; }

#bo_gall #bo_cate {
    background: var(--gc-cream);
    padding: 10px 14px;
    margin: 12px 0 20px;
    border-radius: 8px;
    border: 1px solid var(--gc-border);
}
#bo_gall #bo_cate ul { margin: 0; padding: 0; list-style: none; }
#bo_gall #bo_cate li { display: inline-block; margin: 0 4px 4px 0; }
#bo_gall #bo_cate a { padding: 6px 12px; border-radius: 4px; color: var(--gc-primary); display: block; }
#bo_gall #bo_cate a:hover, #bo_gall #bo_cate #bo_cate_on {
    background: var(--gc-primary);
    color: #fff;
}

/* 갤러리 그리드 */
#bo_gall #gall_ul { margin: 0 -12px 24px; padding: 0; list-style: none; overflow: hidden; }
#bo_gall #gall_ul:after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_gall .gall_row .gall_li {
    position: relative;
    float: left;
    padding: 0 12px 24px;
    box-sizing: border-box;
}
#bo_gall .gall_row .col-gn-2 { width: 50%; }
#bo_gall .gall_row .col-gn-3 { width: 33.33333333%; }
#bo_gall .gall_row .col-gn-4 { width: 25%; }
#bo_gall .gall_row .col-gn-5 { width: 20%; }
#bo_gall .gall_row .col-gn-6 { width: 16.66666667%; }
#bo_gall .gall_row .box_clear { clear: both; }

@media (max-width: 992px) {
    #bo_gall .gall_row .col-gn-4 { width: 33.33333333%; }
    #bo_gall .gall_row .col-gn-5 { width: 33.33333333%; }
    #bo_gall .gall_row .col-gn-6 { width: 33.33333333%; }
}
@media (max-width: 768px) {
    #bo_gall .gall_row .col-gn-2,
    #bo_gall .gall_row .col-gn-3,
    #bo_gall .gall_row .col-gn-4,
    #bo_gall .gall_row .col-gn-5,
    #bo_gall .gall_row .col-gn-6 { width: 50%; }
}
@media (max-width: 480px) {
    #bo_gall .gall_row .gall_li { width: 100% !important; padding-left: 12px; padding-right: 12px; }
}

#bo_gall .gall_box {
    background: #fff;
    border: 1px solid var(--gc-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
#bo_gall .gall_box:hover { box-shadow: 0 8px 24px rgba(45, 90, 39, 0.12); border-color: var(--gc-primary-light); }
#bo_gall .gall_li.gall_now .gall_box { border-color: var(--gc-primary); box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.2); }
#bo_gall .gall_chk { position: absolute; top: 8px; left: 8px; z-index: 2; }
#bo_gall .gall_chk input { margin: 0; }

#bo_gall .gall_img {
    position: relative;
    overflow: hidden;
    background: var(--gc-cream);
    border-bottom: 1px solid var(--gc-border);
    aspect-ratio: 4/3;
}
#bo_gall .gall_img a, #bo_gall .gall_img .no_image, #bo_gall .gall_img .is_notice { display: block; width: 100%; height: 100%; }
#bo_gall .gall_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}
#bo_gall .gall_img .no_image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
#bo_gall .gall_img .is_notice {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gc-gold);
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

#bo_gall .gall_con {
    padding: 14px;
    display: flex;
    flex-direction: column;
    min-height: 150px;
}
#bo_gall .gall_text_href { margin-bottom: 10px; }
#bo_gall .gall_text_href .bo_cate_link { font-size: 0.85em; color: var(--gc-primary); margin-bottom: 4px; display: inline-block; }
#bo_gall .gall_text_href .bo_tit {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 0.95em;
    line-height: 1.5;
    word-break: break-word;
}
#bo_gall .gall_text_href .bo_tit:hover { color: var(--gc-primary); }
#bo_gall .gall_text_href .gc-product-meta,
#bo_gall .gall_text_href .gc-product-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
    color: #555;
    margin-bottom: 4px;
}
#bo_gall .gall_text_href .gc-product-label {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--gc-cream);
    color: var(--gc-primary);
    font-weight: 600;
    font-size: 0.8em;
}
#bo_gall .gall_text_href .gc-product-value {
    font-weight: 500;
}
#bo_gall .gall_text_href .cnt_cmt { background: var(--gc-primary-light); color: #fff; font-size: 0.8em; padding: 2px 6px; border-radius: 4px; margin-left: 4px; }
#bo_gall .gall_name {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 4px;
    margin-top: auto;
}
#bo_gall .gall_info {
    font-size: 0.85em;
    color: #666;
    padding-top: 8px;
    border-top: 1px solid var(--gc-border);
}
#bo_gall .gall_info i { margin-right: 2px; }
#bo_gall .gall_info strong { margin-left: 8px; }
#bo_gall .gall_date { float: right; color: #888; }

#bo_gall .bo_fx { overflow: hidden; margin-bottom: 16px; }
#bo_gall .bo_fx .btn_bo_user { float: right; }
#bo_gall .bo_fx .btn_bo_user button { cursor: pointer; border: none; padding: 0px 14px; border-radius: 6px; font-size: 0.9em; }
#bo_gall li.empty_list { padding: 60px 20px; text-align: center; color: #666; list-style: none; }

#bo_gall #bo_sch {
    background: var(--gc-bg);
    border: 1px solid var(--gc-border);
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 20px;
}
#bo_gall #bo_sch legend { position: absolute; font-size: 0; overflow: hidden; }
#bo_gall #bo_sch .sch_input { border: 1px solid var(--gc-border); border-radius: 4px; padding: 6px 10px; margin: 0 4px; }
#bo_gall #bo_sch .sch_btn { background: var(--gc-primary); color: #fff; border: none; padding: 6px 14px; border-radius: 4px; cursor: pointer; }

/* 갤러리 페이지네이션 */
#bo_gall .pg_wrap { margin-top: 24px; text-align: center; }
#bo_gall .pg_wrap a, #bo_gall .pg_wrap .pg_current {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 4px;
    border: 1px solid var(--gc-border);
}
#bo_gall .pg_wrap a:hover { background: var(--gc-cream); border-color: var(--gc-primary); color: var(--gc-primary); }
#bo_gall .pg_wrap .pg_current { background: var(--gc-primary); color: #fff; border-color: var(--gc-primary); }

/* ===== 읽기 ===== */
#bo_v {
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--gc-border);
    margin-bottom: 24px;
}
#bo_v #bo_v_title .bo_v_cate {
    background: var(--gc-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.9em;
}
#bo_v #bo_v_title .bo_v_tit { font-size: 1.35em; color: #1a1a1a; margin-top: 6px; display: block; }
#bo_v #bo_v_info { padding: 14px 0; margin-bottom: 20px; border-bottom: 1px solid var(--gc-border); color: #555; }
#bo_v #bo_v_info a { color: var(--gc-primary); }
#bo_v #bo_v_con { line-height: 1.8; color: #333; }
#bo_v #bo_v_file, #bo_v #bo_v_link {
    border: 1px solid var(--gc-border);
    border-radius: 6px;
    margin: 14px 0;
}
#bo_v #bo_v_file h2, #bo_v #bo_v_link h2 {
    background: var(--gc-cream);
    padding: 10px 14px;
    margin: 0;
    font-size: 0.95em;
    border-bottom: 1px solid var(--gc-border);
}
#bo_v #bo_v_file a, #bo_v #bo_v_link a { color: var(--gc-primary); }
#bo_v .bo_v_good, #bo_v .bo_v_nogood {
    border: 1px solid var(--gc-border) !important;
    background: var(--gc-cream) !important;
    color: var(--gc-primary) !important;
    border-radius: 8px;
    padding: 10px 18px;
}
#bo_v .bo_v_good:hover, #bo_v .bo_v_nogood:hover { background: var(--gc-primary) !important; color: #fff !important; }
#bo_v .btn_b01,
#bo_v .btn_b02,
#bo_v .btn_admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9em;
    line-height: 1.4;
    text-decoration: none;
    vertical-align: middle;
}
#bo_v .btn_b01 { background: var(--gc-primary-light); color: #fff !important; }
#bo_v .btn_b02 { background: var(--gc-gold); color: #fff !important; }
#bo_v .btn_admin { background: #5a5a5a; color: #fff !important; }
#bo_v .btn_b01:hover { background: var(--gc-primary); color: #fff !important; }
#bo_v .btn_b02:hover { background: var(--gc-gold-light); color: #fff !important; }
#bo_v .btn_admin:hover { background: #333; color: #fff !important; }
#bo_v .btn_b03 { background: #6b6b6b; color: #fff; border: none; padding: 0px 12px; border-radius: 4px; font-size: 0.9em; }
#bo_v .bo_v_nb li { border-color: var(--gc-border); }
#bo_v .bo_v_nb li:hover { background: var(--gc-cream); }
#bo_v .bo_v_nb .nb_tit { color: var(--gc-primary); }

/* 읽기 상단 버튼 정렬 */
#bo_v_top {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--gc-border);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
#bo_v_top .bo_v_left,
#bo_v_top .bo_v_com {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#bo_v_top .bo_v_left li,
#bo_v_top .bo_v_com li {
    margin: 0;
}

@media (max-width: 768px) {
    #bo_v_top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== 쓰기 ===== */
#bo_w { max-width: 100%; }
#bo_w .frm_input, #bo_w .frm_file, #bo_w select {
    border: 1px solid var(--gc-border);
    border-radius: 6px;
    padding: 10px 12px;
}
#bo_w .frm_input:focus, #bo_w select:focus { border-color: var(--gc-primary); outline: none; }
#bo_w .btn_submit { background: var(--gc-primary); color: #fff; border: none; padding: 12px 24px; border-radius: 6px; font-weight: 500; cursor: pointer; }
#bo_w .btn_submit:hover { background: var(--gc-primary-dark); }
#bo_w .btn_cancel { background: #fff; color: #555; border: 1px solid var(--gc-border); padding: 10px 20px; border-radius: 6px; }
#bo_w .btn_cancel:hover { background: var(--gc-cream); border-color: var(--gc-primary); color: var(--gc-primary); }
#bo_w .required { color: var(--gc-primary); }

/* ===== 댓글 ===== */
#bo_vc .cmt_btn {
    background: var(--gc-primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    margin-bottom: 16px;
}
#bo_vc .cmt_btn_op { background: var(--gc-primary-dark); }
#bo_vc article { border: 1px solid var(--gc-border); border-radius: 6px; margin-bottom: 12px; padding: 14px; background: #fff; }
#bo_vc .cmt_contents { background: var(--gc-cream); padding: 12px; border-radius: 6px; border: 1px solid var(--gc-border); margin-top: 8px; }
#bo_vc .bo_vc_act a { color: var(--gc-primary); }
#bo_vc .bo_vc_w #wr_content,
#bo_vc .bo_vc_w textarea#wr_content {
    border: 1px solid var(--gc-border) !important;
    border-radius: 6px;
    padding: 10px;
    min-height: 180px !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box;
    resize: vertical;
}
#bo_vc .bo_vc_w .btn_submit { background: var(--gc-primary); color: #fff; border: none; padding: 10px 20px; border-radius: 6px; }
#bo_vc #bo_vc_empty { color: #888; padding: 40px 0; text-align: center; }

/* ===== 제품 상세 (product) ===== */
#bo_v.gc-product-view {
    padding: 0;
    border: none;
    background: transparent;
    margin-bottom: 0;
}

.gc-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--gc-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(21, 101, 192, 0.08);
}

.gc-product-media {
    position: relative;
}

.gc-product-media-inner {
    background: linear-gradient(145deg, #f8fbff 0%, #eef4fc 100%);
    border: 1px solid var(--gc-border);
    border-radius: 12px;
    padding: 32px;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gc-product-main-link {
    display: block;
    width: 100%;
    text-align: center;
}

.gc-product-main-img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

.gc-product-no-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #999;
    font-size: 15px;
}

.gc-product-no-img i { font-size: 48px; opacity: 0.4; }

.gc-product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 6px;
}

.gc-product-category {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gc-primary);
    background: #e3f2fd;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.gc-product-name {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.45;
    color: #1a1a1a;
    margin: 0 0 24px;
    word-break: keep-all;
}

.gc-product-spec-box {
    background: #fafbfd;
    border: 1px solid var(--gc-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.gc-product-spec-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gc-primary-dark);
    background: #e3f2fd;
    padding: 14px 20px;
    margin: 0;
    border-bottom: 1px solid var(--gc-border);
}

.gc-product-spec-title i { margin-right: 8px; opacity: 0.85; }

.gc-product-spec-list { margin: 0; }

.gc-product-spec-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid #eef2f7;
    font-size: 15px;
    line-height: 1.6;
}

.gc-product-spec-row:last-child { border-bottom: none; }

.gc-product-spec-row dt {
    font-weight: 600;
    color: #555;
    margin: 0;
}

.gc-product-spec-row dd {
    margin: 0;
    color: #1a1a1a;
    font-weight: 500;
}

.gc-product-trust {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gc-product-trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.gc-product-trust i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    color: var(--gc-primary);
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.gc-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gc-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.gc-product-btn-outline {
    background: #fff;
    color: var(--gc-primary);
    border-color: var(--gc-primary);
}

.gc-product-btn-outline:hover {
    background: #e3f2fd;
    color: var(--gc-primary-dark);
}

.gc-product-btn-primary {
    background: var(--gc-primary);
    color: #fff;
    border-color: var(--gc-primary);
}

.gc-product-btn-primary:hover {
    background: var(--gc-primary-dark);
    border-color: var(--gc-primary-dark);
    color: #fff;
}

.gc-product-btn-call {
    background: var(--gc-gold);
    color: #fff;
    border-color: var(--gc-gold);
}

.gc-product-btn-call:hover {
    background: var(--gc-gold-light);
    border-color: var(--gc-gold-light);
    color: #fff;
}

.gc-product-admin {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--gc-border);
    display: flex;
    gap: 8px;
}

.gc-product-detail {
    margin-top: 32px;
    background: #fff;
    border: 1px solid var(--gc-border);
    border-radius: 16px;
    padding: 32px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.gc-product-detail-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gc-primary-dark);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--gc-primary);
}

.gc-product-detail-title i { margin-right: 8px; }

.gc-product-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gc-product-features li {
    position: relative;
    padding: 16px 20px 16px 44px;
    background: #fafbfd;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.75;
    color: #333;
}

.gc-product-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 16px;
    top: 18px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gc-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
}

.gc-product-detail-body {
    font-size: 15px;
    line-height: 1.85;
    color: #444;
}

.gc-product-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.gc-product-nav-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--gc-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.gc-product-nav-item:hover {
    border-color: var(--gc-primary);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.1);
}

.gc-product-nav-prev { text-align: left; }
.gc-product-nav-next { text-align: right; }

.gc-product-nav-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gc-primary);
}

.gc-product-nav-subject {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gc-product-nav-empty { visibility: hidden; }

@media (max-width: 992px) {
    .gc-product-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 28px;
    }

    .gc-product-name { font-size: 22px; }

    .gc-product-actions { flex-direction: column; }
    .gc-product-btn { width: 100%; }

    .gc-product-nav { grid-template-columns: 1fr; }
    .gc-product-nav-next { text-align: left; }

    .gc-product-detail { padding: 24px; }
}

@media (max-width: 640px) {
    .gc-product-spec-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

