/* G4(1top) 상품상세 레이아웃 — 인쇄 옵션 상품 전용 */
#sit.custom-print-g4-wrap {
    max-width: 745px;
    margin: 0 auto;
    padding: 10px 0 30px;
    font-family: dotum, "Malgun Gothic", sans-serif;
    font-size: 12px;
    color: #434343;
}

.custom-print-g4-wrap table {
    border-collapse: collapse;
}

.custom-print-g4-wrap .g4-accent {
    color: #8580c2;
}

.custom-print-g4-wrap .g4-title-bar {
    font-size: 15px;
    height: 47px;
    line-height: 47px;
    color: #434343;
    font-weight: bold;
    border: 1px solid #8580c2;
    text-align: center;
    background: #f8f7ff;
}

.custom-print-g4-wrap .g4-box-lavender {
    border: 5px solid #eceaff;
}

.custom-print-g4-wrap .g4-box-gray {
    border: 5px solid #f4f4f4;
}

.custom-print-g4-wrap .g4-box-purple {
    border: 5px solid #8580c2;
}

.custom-print-g4-wrap .g4-box-summary {
    border: 5px solid #dedcf6;
}

.custom-print-g4-wrap .g4-section-head {
    background: #f4f4f4;
    height: 38px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #8580c2;
    line-height: 38px;
}

.custom-print-g4-wrap .g4-section-head--lavender {
    background: #dedcf6;
    font-size: 16px;
}

.custom-print-g4-wrap .g4-design-inner {
    min-height: 180px;
    border: 5px solid #eceaff;
    padding: 4px;
}

.custom-print-g4-wrap .g4-memo {
    padding: 3px;
    color: #444;
    width: 100%;
    max-width: 362px;
    border: 1px solid #cdcdcd;
    box-sizing: border-box;
}

.custom-print-g4-wrap .g4-memo.ordermemo {
    color: #999;
}

.custom-print-g4-wrap .g4-total-box {
    border: 5px solid #8580c2;
    min-height: 68px;
    padding: 12px 14px;
    margin: 10px;
    box-sizing: border-box;
}

.custom-print-g4-wrap .g4-total-amount {
    float: right;
    color: #8580c2;
    font-size: 20px;
    font-family: tahoma, sans-serif;
    text-align: right;
}

.custom-print-g4-wrap .g4-summary-label {
    float: left;
    width: 102px;
    color: #fff;
    background-color: #8580c2;
    text-align: center;
    padding: 8px 0;
    margin: 10px;
    font-weight: bold;
}

.custom-print-g4-wrap .g4-summary-value {
    float: left;
    width: calc(100% - 140px);
    min-height: 28px;
    color: #8580c2;
    text-align: left;
    padding: 8px 5px;
    font-weight: bold;
    border: 2px solid #8580c2;
    margin: 10px 10px 10px 0;
    box-sizing: border-box;
}

.custom-print-g4-wrap .g4-btn-row {
    text-align: center;
    padding: 15px 0;
}

.custom-print-g4-wrap .g4-btn {
    display: inline-block;
    margin: 0 4px;
    padding: 10px 28px;
    border: 2px solid #8580c2;
    background: #fff;
    color: #8580c2;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
}

.custom-print-g4-wrap .g4-btn:hover {
    background: #8580c2;
    color: #fff;
}

.custom-print-g4-wrap .g4-btn--primary {
    background: #8580c2;
    color: #fff;
}

.custom-print-g4-wrap .g4-btn--primary:hover {
    background: #6d68a8;
    border-color: #6d68a8;
}

.custom-print-g4-wrap .g4-btn-img {
    border: 0;
    vertical-align: middle;
    margin: 0 4px;
    cursor: pointer;
}

.custom-print-g4-wrap .g4-info-head {
    font-size: 14px;
    font-weight: bold;
    color: #8580c2;
    padding: 12px 0 8px;
    border-bottom: 2px solid #eceaff;
    margin-top: 20px;
}

.custom-print-g4-wrap .g4-info-body {
    padding: 15px;
    line-height: 1.6;
}

.custom-print-g4-wrap .g4-info-open {
    width: 100%;
    border: 1px solid #f6dbab;
    border-bottom: 0;
    margin-bottom: 15px;
}

.custom-print-g4-wrap .g4-info-open th {
    padding: 8px 15px;
    width: 30%;
    border-bottom: 1px solid #f6dbab;
    background: #f8f4ee;
    font-size: 12px;
    text-align: left;
    font-weight: normal;
}

.custom-print-g4-wrap .g4-info-open td {
    padding: 8px 15px;
    border-bottom: 1px solid #f6dbab;
}

.custom-print-g4-wrap #sit_inf_explan img {
    max-width: 100%;
    height: auto;
}

.custom-print-g4-wrap .g4-clear {
    clear: both;
}

.custom-print-g4-wrap .g4-qty-input {
    text-align: right;
    width: 48px;
    border: 1px solid #cdcdcd;
    padding: 2px 4px;
}

.custom-print-g4-wrap .g4-it-img-wrap {
    text-align: center;
}

.custom-print-g4-wrap .g4-it-img-wrap img,
.custom-print-g4-wrap #custom_it_main_img {
    max-width: 100%;
    height: auto;
}

.custom-print-g4-wrap .g4-sample-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #eceaff;
    color: #8580c2;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid #8580c2;
}

.custom-print-g4-wrap .g4-sample-btn:hover {
    background: #8580c2;
    color: #fff;
}

/* G5 기본 상품폼 숨김 (인쇄 G4 모드일 때 상위 #sit만 해당) */
.custom-print-g4-active #sit_ov_from {
    display: none;
}
