body.custom-sample-popup {
    margin: 0;
    padding: 0;
    background: #f4f4f8;
    font-family: "Malgun Gothic", "맑은 고딕", sans-serif;
    font-size: 13px;
    color: #333;
}

#custom_sample_wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px 16px 24px;
}

.custom-sample-hint {
    margin: 0 0 12px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #d8d4f0;
    color: #555;
    font-size: 12px;
    text-align: center;
}

.custom-sample-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8580c2;
}

.custom-sample-title {
    margin: 0;
    font-size: 20px;
    color: #4a458f;
}

.custom-sample-close {
    border: 1px solid #8580c2;
    background: #fff;
    color: #4a458f;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 13px;
}

.custom-sample-close:hover {
    background: #eceaff;
}

.custom-sample-body #bo_gall {
    width: 100% !important;
}

.custom-sample-body #bo_cate {
    margin-bottom: 14px;
}

.custom-sample-body #bo_cate_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-sample-body #bo_cate_ul li a {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #ccc;
    background: #fff;
    text-decoration: none;
    color: #444;
}

.custom-sample-body #bo_cate_ul li a:hover,
.custom-sample-body #bo_cate_ul #bo_cate_on {
    border-color: #8580c2;
    color: #4a458f;
    font-weight: bold;
}

.custom-sample-body #bo_btn_top .btn_bo_user,
.custom-sample-body #gall_allchk,
.custom-sample-body .bo_sch_wrap {
    display: none !important;
}

.custom-sample-body .custom-sample-pick {
    cursor: pointer;
}

.custom-sample-body #gall_ul .gall_img img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: #fff;
}

.custom-sample-body #gall_ul .gall_text_href {
    text-align: center;
    padding: 6px 4px;
}

.custom-sample-body #bo_v_atc {
    text-align: center;
}

.custom-sample-body #bo_v_atc img {
    max-width: 100%;
    height: auto;
}

.custom-sample-body #bo_v_btn,
.custom-sample-body #bo_v_info {
    display: none;
}
