@charset "utf-8";

/* 불교용품 쇼핑몰 - 클래식 화이트 톤 (PC) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
    --shop-white: #ffffff;
    --shop-bg: #fafafa;
    --shop-bg-sub: #f5f5f5;
    --shop-border: #e5e5e5;
    --shop-border-dark: #cccccc;
    --shop-text: #1a1a1a;
    --shop-text-sub: #444444;
    --shop-text-muted: #777777;
    --shop-text-light: #999999;
    --shop-accent: #333333;
    --shop-accent-hover: #000000;
}

body {
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    color: var(--shop-text);
    background: var(--shop-bg);
}

a {
    color: var(--shop-text-sub);
}

a:hover {
    color: var(--shop-accent-hover);
}

/* ── 상단 ── */
#hd {
    background: var(--shop-white);
    border-bottom: 1px solid var(--shop-border);
}

#tnb {
    border-bottom: 1px solid var(--shop-border);
    background: var(--shop-bg-sub);
}

#hd_qnb li,
#hd_define li {
    border-right-color: var(--shop-border);
}

#hd_qnb li a,
#hd_define li a {
    color: var(--shop-text-muted);
}

#hd_qnb li a:hover,
#hd_define li a:hover {
    color: var(--shop-text);
}

/* 검색창 */
.hd_sch_wr {
    padding: 30px 0;
}

#hd_sch {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--shop-border-dark);
    border-radius: 6px;
    overflow: hidden;
    background: var(--shop-white);
    box-sizing: border-box;
}

#hd_sch legend {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#hd_sch form {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0;
}

#hd_sch #sch_str {
    flex: 1 1 auto;
    float: none;
    width: auto;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    background: var(--shop-white);
    color: var(--shop-text);
    font-size: 0.95em;
    box-shadow: none;
    outline: none;
}

#hd_sch #sch_str::placeholder {
    color: var(--shop-text-light);
}

#hd_sch #sch_str:focus {
    box-shadow: none !important;
    border: 0 !important;
    outline: none;
}

#hd_sch:focus-within {
    border-color: #999999;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

#hd_sch #sch_submit {
    flex: 0 0 50px;
    float: none;
    width: 50px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--shop-border);
    border-radius: 0;
    background: var(--shop-bg-sub);
    color: var(--shop-text-muted);
    cursor: pointer;
    font-size: 16px;
    line-height: 44px;
}

#hd_sch #sch_submit:hover {
    background: var(--shop-border);
    color: var(--shop-text);
}

#logo img {
    max-height: 56px;
    width: auto;
}

/* 로그인·장바구니 */
.hd_login > li a {
    color: var(--shop-text);
}

.hd_login .btn_member_mn,
.hd_login .btn_member_mn i {
    color: var(--shop-text);
}

.hd_login .btn_member_mn_on {
    color: var(--shop-text);
    border-color: var(--shop-border);
}

.hd_login > li.login a {
    color: var(--shop-accent);
    border-color: var(--shop-accent);
    background: transparent;
}

.hd_login > li.login a:hover {
    background: var(--shop-accent);
    color: var(--shop-white);
}

/* 메뉴 */
#hd_menu {
    position: relative;
    background: var(--shop-white);
    border-top: 1px solid var(--shop-border);
    border-bottom: 1px solid var(--shop-border);
}

#hd_menu button#menu_open {
    background: var(--shop-accent);
    color: var(--shop-white);
    border-radius: 0;
}

#hd_menu button#menu_open:hover {
    background: var(--shop-accent-hover);
}

.hd_menu li a {
    color: var(--shop-text-sub);
    border-right-color: var(--shop-border);
    font-weight: 500;
}

.hd_menu li a:hover {
    background: var(--shop-bg-sub);
    color: var(--shop-text);
}

/* 사이드 퀵메뉴 */
.btn_sm_on i,
.qk_con_wr .side_tnb li:hover a {
    color: var(--shop-accent);
}

.qk_con_wr .side_tnb li a {
    color: var(--shop-text-sub);
}

.qk_con h2.s_h2 {
    color: var(--shop-text);
}

.qk_con h2.s_h2 span {
    background: var(--shop-bg-sub);
    color: var(--shop-text-muted);
}

/* 카테고리 전체메뉴 패널 */
#category {
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid var(--shop-border-dark);
    border-top: 0;
    background: var(--shop-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

#category h2 {
    margin: 0;
    padding: 14px 52px 14px 24px;
    font-size: 1.05em;
    font-weight: 600;
    color: var(--shop-text);
    border-bottom: 1px solid var(--shop-border);
    line-height: 1.4;
}

#category ul.cate {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}

#category ul.cate::after {
    display: none;
}

#category .cate_li_1 {
    float: none;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 20px 22px;
    border-left: 1px solid var(--shop-border) !important;
    border-bottom: 1px solid var(--shop-border);
    box-sizing: border-box;
}

#category ul.cate > .cate_li_1:nth-child(4n+1) {
    border-left: 0 !important;
}

#category .cate_li_1_a {
    display: block;
    margin: 0 0 12px;
    padding-bottom: 10px;
    font-size: 1.05em;
    font-weight: 600;
    color: var(--shop-text);
    border-bottom: 1px solid var(--shop-border);
    line-height: 1.4;
}

#category .cate_li_1_a:hover {
    color: var(--shop-accent-hover);
}

#category .sub_cate {
    margin: 0;
    padding: 0;
    list-style: none;
}

#category .cate_li_2 {
    float: none;
    line-height: 1.7;
    margin: 0;
    padding: 2px 0;
}

#category .cate_li_2 a {
    display: block;
    color: var(--shop-text-muted);
    font-size: 0.92em;
    line-height: 1.6;
}

#category .cate_li_2 a:hover {
    color: var(--shop-text);
}

#category .close_btn {
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    border: 0;
    border-left: 1px solid var(--shop-border);
    background: var(--shop-white);
    color: var(--shop-text-muted);
    font-size: 18px;
    line-height: 48px;
    cursor: pointer;
}

#category .close_btn:hover {
    background: var(--shop-bg-sub);
    color: var(--shop-text);
}

#category .no-cate {
    padding: 32px 24px;
    text-align: center;
    color: var(--shop-text-muted);
}

#top_btn {
    color: var(--shop-text-light);
}

#top_btn:hover {
    border-color: var(--shop-accent);
    background: var(--shop-accent);
    color: var(--shop-white);
}

/* ── 본문 ── */
#wrapper {
    background: var(--shop-bg);
}

#wrapper_title {
    color: var(--shop-text);
}

/* 메인 배너 — 913×368 비율 유지, 화면 높이 과다 점유 방지 */
#main_bn {
    margin: 12px 0 20px;
    overflow: hidden;
    min-height: 0 !important; /* 스킨 인라인 min-height 무력화 */
}

#main_bn .main_image_area {
    position: relative;
    line-height: 0;
    background: var(--shop-bg-sub);
}

#main_bn .btn_wr {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 34px;
    padding: 0 6px;
    border-radius: 17px;
    background: rgba(0, 0, 0, 0.55);
    box-sizing: border-box;
}

#main_bn .btn_wr .pager-prev,
#main_bn .btn_wr .pager-next,
#main_bn .btn_wr #slide-counter {
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    color: #fff;
    line-height: 1;
    text-decoration: none;
}

#main_bn .btn_wr .pager-prev,
#main_bn .btn_wr .pager-next {
    width: 28px;
    height: 28px;
    font-size: 1.15em;
}

#main_bn #slide-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    gap: 2px;
    font-size: 0.85em;
    white-space: nowrap;
}

#main_bn #slide-counter .slide-index {
    font-weight: 600;
}

#main_bn #slide-counter .slide-sep {
    opacity: 0.75;
    margin: 0 1px;
}

#main_bn .main_banner_owl .item a {
    display: block;
    line-height: 0;
}

#main_bn .main_banner_owl img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 300px;
    aspect-ratio: 913 / 368;
    height: auto;
    object-fit: cover;
    object-position: center;
}

#main_bn .main_owl_pager .owl_pager li {
    line-height: 36px;
    height: 36px;
    font-size: 0.95em;
}

#main_bn.main_bn_single .main_owl_pager,
#main_bn.main_bn_single .btn_wr {
    display: none;
}

.sct_wrap {
    position: relative;
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    padding: 24px 20px;
    margin-bottom: 20px;
}

.sct_wrap header h2 {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 1.25em;
    color: var(--shop-text);
    border-bottom: 1px solid var(--shop-border);
    padding-bottom: 12px;
    letter-spacing: -0.02em;
}

.sct_wrap header h2 a {
    color: var(--shop-text);
}

.sct_wrap header h2 a:hover {
    color: var(--shop-accent-hover);
}

/* 상품 텍스트 */
.sct_txt a,
.sct_txt .sct_a,
.smt_10 .sct_txt a,
.smt_20 .sct_txt a,
.smt_30 .sct_txt a,
.smt_40 .sct_txt a,
.scr_10 .sct_txt a {
    color: var(--shop-text);
}

.sct_basic,
.sct_dict {
    color: var(--shop-text-muted);
}

.sct_cost,
.smt_10 .sct_cost,
.smt_20 .sct_cost,
.smt_30 .sct_cost,
.smt_40 .sct_cost {
    color: var(--shop-text);
}

.sct_dict {
    color: var(--shop-text-light);
}

/* 할인율 배지 — 가격 줄 (이미지 오버레이 대신) */
.sct_wrap .smt_10 .sct_cost {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-top: 6px;
    line-height: 1.4;
}

.sct_wrap .smt_10 .sct_cost .sct_disc {
    position: static;
    right: auto;
    bottom: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    background: var(--shop-accent-hover, #b33a2c);
    border-radius: 4px;
}

.sct_wrap .smt_10 .sct_cost .sct_price {
    font-weight: 700;
    font-size: 1.05em;
}

.sct_wrap .smt_10 .sct_cost .sct_dict {
    flex-basis: 100%;
    margin: 0;
}

/* 메인 상품 4열 그리드 (smt_10: 신규·특가·추천 등) */
.sct_wrap .smt_10 {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sct_wrap .smt_10 .sct_li {
    float: none !important;
    clear: none !important;
    width: calc((100% - 48px) / 4) !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.sct_wrap .smt_10 .sct_clear,
.sct_wrap .smt_10 .sct_last {
    clear: none !important;
    margin: 0 !important;
}

.sct_wrap .smt_10 .sct_img a {
    display: block;
}

.sct_wrap .smt_10 .sct_img img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
}

/* smt_20 롤링 스킨 — flex 금지(줄 단위 absolute 롤링과 충돌), float 4열 */
.sct_wrap .smt_20 {
    margin: 0;
    overflow: hidden;
}

.sct_wrap .smt_20 .sct_ul {
    display: block;
    width: 100% !important;
}

.sct_wrap .smt_20 .sct_ul:after {
    display: block;
    clear: both;
    content: "";
}

.sct_wrap .smt_20 .sct_ul .sct_li {
    float: left !important;
    clear: none !important;
    width: calc((100% - 48px) / 4) !important;
    margin: 0 16px 15px 0 !important;
    box-sizing: border-box;
}

.sct_wrap .smt_20 .sct_ul .sct_li.sct_last {
    margin-right: 0 !important;
}

.sct_wrap .smt_20 .sct_img a {
    display: block;
}

.sct_wrap .smt_20 .sct_img img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
}

/* 메인 상품 Owl 캐러셀 (인기·추천·신규·특가 공통) */
.sct_wrap .smt_10.owl-carousel,
.sct_wrap .smt_carousel.owl-carousel,
.sct_wrap .smt_40.owl-carousel {
    position: relative;
    display: block;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0 4px;
}

.sct_wrap .smt_10.owl-carousel .sct_li,
.sct_wrap .smt_carousel.owl-carousel .sct_li,
.sct_wrap .smt_40.owl-carousel .sct_li {
    width: 100% !important;
    float: none;
    margin: 0 !important;
    box-sizing: border-box;
}

.sct_wrap .smt_10.owl-carousel .sct_img img,
.sct_wrap .smt_carousel.owl-carousel .sct_img img,
.sct_wrap .smt_40.owl-carousel .sct_img img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
}

.sct_wrap .owl-carousel .owl-nav {
    margin: 0;
    z-index: 3;
}

.sct_wrap .owl-carousel .owl-nav button.owl-prev,
.sct_wrap .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96) !important;
    background-image: none !important;
    border: 1px solid var(--shop-border) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: var(--shop-text) !important;
    font-size: 26px;
    line-height: 1;
    text-indent: 0 !important;
    opacity: 0.94;
    z-index: 1;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.sct_wrap .owl-carousel .owl-nav button.owl-prev {
    left: 6px;
}

.sct_wrap .owl-carousel .owl-nav button.owl-next {
    right: 6px;
}

.sct_wrap .owl-carousel .owl-nav button .owl-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 16px;
    line-height: 0;
    font-size: 0;
}

.sct_wrap .owl-carousel .owl-nav button .owl-nav-icon svg {
    display: block;
    width: 10px;
    height: 16px;
}

.sct_wrap .owl-carousel .owl-nav button.owl-prev:hover,
.sct_wrap .owl-carousel .owl-nav button.owl-next:hover {
    opacity: 1;
    border-color: var(--shop-accent) !important;
    color: var(--shop-accent-hover) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.sct_wrap .owl-carousel .owl-nav button.disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 1100px) {
    .sct_wrap .smt_10 .sct_li,
    .sct_wrap .smt_20 .sct_ul .sct_li {
        width: calc((100% - 32px) / 3) !important;
    }

    .sct_wrap .smt_20 .sct_ul .sct_li {
        margin-right: 16px !important;
    }

    .sct_wrap .smt_20 .sct_ul .sct_li.sct_last {
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    .sct_wrap .smt_10 .sct_li,
    .sct_wrap .smt_20 .sct_ul .sct_li {
        width: calc((100% - 16px) / 2) !important;
    }
}

/* ── 하단 (스킨 기본 흰색 텍스트 덮어쓰기) ── */
#ft {
    background: var(--shop-bg-sub);
    border-top: 1px solid var(--shop-border-dark);
    color: var(--shop-text-sub);
}

#ft_wr #ft_link.ft_cnt {
    width: 16%;
}

#ft_wr #ft_company.ft_cnt {
    width: 34%;
}

#ft_link a {
    color: var(--shop-text);
    font-weight: 600;
}

#ft_link a:hover {
    color: var(--shop-accent-hover);
}

#ft_company h2 {
    color: var(--shop-text);
    font-weight: 600;
}

#ft_company {
    color: var(--shop-text-sub);
}

#ft_company .ft_info {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 0.92em;
}

#ft_company .ft_info_row {
    display: grid;
    grid-template-columns: 4.5em 1fr;
    column-gap: 12px;
    row-gap: 2px;
    margin-bottom: 8px;
    align-items: start;
}

#ft_company .ft_info_row--multi {
    display: block;
    margin-bottom: 8px;
}

#ft_company .ft_info_item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 6px;
    margin-bottom: 6px;
    align-items: baseline;
}

#ft_company .ft_lbl {
    font-weight: 600;
    color: var(--shop-text);
    white-space: nowrap;
}

#ft_company .ft_val {
    color: var(--shop-text-sub);
    word-break: keep-all;
}

#ft_wr {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    display: block;
    text-align: left;
    box-sizing: border-box;
}

#ft_copy {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 18px 20px;
    text-align: center;
    font-size: 0.92em;
    line-height: 1.5;
    border-top: 1px solid var(--shop-border-dark);
    color: var(--shop-text-muted);
    background: #ececec;
    box-sizing: border-box;
}

/* 푸터 공지사항 latest 스킨 */
#ft .notice h2 a {
    color: var(--shop-text) !important;
    font-weight: 600;
}

#ft .notice li a,
#ft .notice li.empty_li {
    color: var(--shop-text-sub) !important;
}

#ft .notice li a:hover {
    color: var(--shop-text) !important;
}

#ft .notice li a strong {
    color: var(--shop-text);
}

#ft .notice {
    padding: 0;
}

#ft .notice li {
    border-bottom-color: var(--shop-border);
}

/* 푸터 접속자 집계 스킨 */
#ft #visit h2 {
    color: var(--shop-text) !important;
    font-weight: 600;
}

#ft #visit dt {
    color: var(--shop-text-sub) !important;
}

#ft #visit dd {
    color: var(--shop-text);
}

#ft #visit dt span {
    background: var(--shop-accent);
}

#ft #visit dd strong {
    color: var(--shop-white) !important;
    background: var(--shop-accent);
}

/* ── 버튼·강조색 ── */
#hd_menu button#menu_open,
.btn_submit,
.pg_current,
a.btn02,
#smb_ws_act .btn02,
#sod_ws_act .btn02,
.new_win .win_ul .selected {
    background: var(--shop-accent);
    border-color: var(--shop-accent);
    color: var(--shop-white);
}

.btn_submit:hover,
a.btn02:hover,
#smb_ws_act .btn02:hover,
#sod_ws_act .btn02:hover {
    background: var(--shop-accent-hover);
    border-color: var(--shop-accent-hover);
}

.hd_login > li.login a {
    background: transparent;
}

a.btn_frmline,
button.btn_frmline,
.cp_btn,
#sod_addr .default_lb,
.sod_opt li:before {
    color: var(--shop-accent);
}

#sod_fin_no,
.sod_list .total_price strong,
.smb_my_od .cost,
#sod_fin_tot li.sod_fin_tot strong {
    color: var(--shop-text);
}

.pg_current {
    border-color: var(--shop-accent);
}

#sod_bsk_tot,
#sod_bsk_tot2,
.sod_right #sod_bsk_tot,
#sod_fin_tot ul {
    border-color: var(--shop-border-dark) !important;
}

#ol_after_logout {
    color: var(--shop-text-sub);
}

/* ── 전역 accent 통일 (기본·스킨 CSS 보완) ── */
.btn_submit,
a.btn_b01,
.btn_b01,
a.btn02,
.fix_btn,
.pg_current,
.new_win .win_ul .selected,
#sod_ws_act .btn02,
.reply_btn,
.sit_btn_buy,
.sct_40 .list-10-btn .sct_cart,
.sct_cartop_wr .cartopt_cart_btn,
.couponzone_list ul li .coupon_btn .btn02,
#sit_use_wbtn .qa_wr,
#sit_qa_wbtn .qa_wr,
#ol_submit,
.reg_btn_submit,
#ol_before .ol_before_link .login {
    background: var(--shop-accent) !important;
    border-color: var(--shop-accent) !important;
    color: var(--shop-white) !important;
}

.btn_submit:hover,
a.btn02:hover,
.sit_btn_buy:hover,
.reply_btn:hover,
.sct_40 .list-10-btn .sct_cart:hover,
.reg_btn_submit:hover {
    background: var(--shop-accent-hover) !important;
    border-color: var(--shop-accent-hover) !important;
}

.new_win .win_ul li a {
    color: var(--shop-text-muted);
}

.new_win .win_ul .selected a {
    color: var(--shop-white) !important;
    font-weight: bold;
}

a.btn_frmline,
button.btn_frmline,
.cp_btn,
.cp_btn1,
.cp_apply,
#login_password_lost,
#ol_svc a,
#ol_after_info,
#s_ol_after_info,
#sod_frm_orderer .odpw_info,
.sod_list .total_price strong,
#m_sod_bsk_tot .sod_bsk_cnt strong,
#sod_inquiry li .inquiry_price,
#scp_list .cou_pri,
.point_list .point_num,
.sps_section .sps_pd_name,
#ssch_cate a:hover,
#sct_ct_1 li a:hover,
#sit_btn_opt .btn_sns_share:hover,
#fregisterform .cert_desc,
.new_win .win_total,
#smb_my_ov .win_point strong,
.btn_sm_on i,
.qk_con_wr .side_tnb li:hover a,
#category .cate_li_1_a,
#bo_cate a:hover,
#bo_cate #bo_cate_on,
#faq_wrap li h3.faq_li_open a,
#ol_after_hd strong,
#ol_after_private a strong,
#s_ol_after_private a strong,
#ol_after_private li:hover i,
#scrap .scrap_del:hover,
#ssch_sort li:hover a,
#ssch_sort_all li:hover a,
#sev .ev_prd .sev_more,
#main_bn .owl_pager li.active a {
    color: var(--shop-accent) !important;
}

a.btn_frmline,
button.btn_frmline,
.cp_apply,
.cp_btn,
.cp_btn1,
.hd_login > li.login a,
#sit_btn_phone,
.sct_cartop_wr .cartopt_close_btn {
    background: var(--shop-white) !important;
    border-color: var(--shop-accent) !important;
    color: var(--shop-accent) !important;
}

.sct_cartop_wr .cart_in_notice {
    margin: 0 0 8px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #856404;
    background: #fff3cd;
    border-radius: 3px;
}

#bo_cate a:hover,
#bo_cate #bo_cate_on {
    background: var(--shop-accent) !important;
    border-color: var(--shop-accent) !important;
    color: var(--shop-white) !important;
}

#ssch_sort li:hover:after,
#ssch_sort_all li:hover:after,
#sit_tab .tab_tit li .selected:after,
#ol_after_private li a:hover:after,
#s_ol_after_private li a:hover:after,
.gnb_1dli_on .gnb_1da:after,
#main_bn .owl_pager li.active a:after {
    background: var(--shop-accent) !important;
}

.sod_opt li:before,
.sod_opt .opt_name:before {
    background: var(--shop-bg-sub) !important;
    color: var(--shop-accent) !important;
}

/* 주문내역 상태 뱃지 */
.status_01,
.status_02,
.status_03,
.status_04,
.status_05,
.status_06 {
    display: inline-block;
    padding: 4px 10px;
    line-height: 1.4;
    font-size: 0.92em;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    border: 1px solid transparent;
}

.status_01 {
    background: #fff8e6 !important;
    color: #7a5c10 !important;
    border-color: #e8d48a !important;
}

.status_02 {
    background: #e8f4e8 !important;
    color: #2d6b2d !important;
    border-color: #b8d4b8 !important;
}

.status_03 {
    background: #f0f0f0 !important;
    color: #1a1a1a !important;
    border-color: #cccccc !important;
}

.status_04 {
    background: #e8e8e8 !important;
    color: #1a1a1a !important;
    border-color: #bbbbbb !important;
}

.status_05 {
    background: var(--shop-accent) !important;
    color: var(--shop-white) !important;
    border-color: var(--shop-accent) !important;
}

.status_06 {
    background: #fce8e8 !important;
    color: #a82828 !important;
    border-color: #e8b4b4 !important;
}

#sod_inquiry li .inv_inv {
    color: var(--shop-text-sub) !important;
    background: var(--shop-bg-sub) !important;
    border-color: var(--shop-border) !important;
}

#sod_inquiry li .inv_inv strong {
    color: var(--shop-text) !important;
}

.chk_box input[type="radio"]:checked + label {
    color: var(--shop-accent) !important;
}

.chk_box input[type="radio"]:checked + label span {
    border-color: var(--shop-accent) !important;
}

.memo_list .no_read {
    background: var(--shop-accent) !important;
    border-color: var(--shop-border) !important;
    box-shadow: 0 0 10px 3px var(--shop-border) !important;
}

.qk_con h2.s_h2 span {
    background: var(--shop-bg-sub) !important;
    color: var(--shop-text-muted) !important;
}

#sod_fin_view .odf_tbl .dvr_link,
.sod_info_option .sod_ifop_tit .btn_frmline {
    color: var(--shop-accent) !important;
    border-color: var(--shop-border-dark) !important;
    background: var(--shop-white) !important;
}

/* 상품 상세 SNS 공유 */
#sit_star_sns .sns_area {
    max-width: 220px !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 12px !important;
}

#sit_star_sns .sns_area a {
    margin-bottom: 0 !important;
}

#sit_star_sns .sns_area .share-kakaotalk {
    background: #fee500 !important;
}

#sit_star_sns .sns_area .share-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: #fff !important;
}

#sit_star_sns .sns_area .share-sms {
    background: #34a853 !important;
    color: #fff !important;
}

#sit_star_sns .sns_area .share-instagram .fa,
#sit_star_sns .sns_area .share-sms .fa {
    font-size: 18px;
    line-height: 35px;
}

/* 위시리스트 담김 표시 */
.btn_wish.wish_on,
.sit_btn_wish.wish_on,
#btn_wish.wish_on,
#sit_btn_wish.wish_on {
    color: #c0392b !important;
}

.btn_wish.wish_on i,
.sit_btn_wish.wish_on i,
#btn_wish.wish_on i,
#sit_btn_wish.wish_on i {
    color: #c0392b !important;
}

.btn_wish.wish_on .fa-heart-o:before,
.sit_btn_wish.wish_on .fa-heart-o:before {
    content: "\f004";
}

/* 상품 이미지·영상 */
.sit_item_video,
.sit_vid_thumb {
    display: block;
    max-width: 100%;
    height: auto;
    background: #111;
}

#sit_pvi_big .sit_item_video,
#sit_pvi_big .sit_vid_thumb,
#sit_pvi_thumb .sit_vid_thumb {
    width: 100%;
    object-fit: contain;
}

#sit_pvi_thumb .sit_vid_thumb {
    height: 70px;
    object-fit: cover;
}

#sit_pvi_nwbig .sit_item_video {
    max-width: 900px;
}

/* 판매준비중 (가격 0원) */
.sit_price_ready,
#sit_ov_ready {
    color: var(--shop-text-muted);
    font-weight: 500;
}

#sit_ov_ready {
    margin: 12px 0;
    padding: 12px 14px;
    background: var(--shop-bg-sub);
    border: 1px solid var(--shop-border);
    border-radius: 4px;
    font-size: 0.95em;
    line-height: 1.5;
}

/* 더미 사업자정보 숨김 후 빈 행 제거 */
.ft_info_row--multi:not(:has(.ft_info_item)) {
    display: none;
}

/* 메인 배너 비어 있을 때 여백 제거 */
#main_bn:empty,
#main_bn:not(:has(.item)) {
    display: none;
    margin: 0;
    min-height: 0 !important;
}

/* 게시판·Q&A 영상 */
.g5_board_video {
    display: block;
    max-width: 100%;
    height: auto;
    background: #111;
}

/* 상품 상·하단 HTML / 상세 — 에디터 원본(수천px) 이미지 폭 제한 */
#sit_hhtml,
#sit_thtml,
#sit_inf_explan,
#sit_inf,
.shop-content.is_item {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

#sit_hhtml img,
#sit_thtml img,
#sit_inf_explan img,
#sit_inf img,
.shop-content.is_item > p img,
.shop-content.is_item img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

/* 메인 왼쪽 사이드 — 베스트/배너가 265px 밖으로 삐져나오지 않게 */
#aside {
    overflow: hidden;
    box-sizing: border-box;
}

#side_pd {
    overflow: hidden;
    box-sizing: border-box;
}

#side_pd .smt,
#side_pd .smt_10 {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}

#side_pd .smt_10 .sct_li {
    float: none !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 14px !important;
    padding: 0 12px;
    box-sizing: border-box;
}

#side_pd .smt_10 .sct_li:last-child {
    margin-bottom: 12px !important;
}

#side_pd .smt_10 .sct_img a {
    display: block;
}

#side_pd .smt_10 .sct_img img {
    display: block;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}

#side_pd .smt_10 .sct_btn,
#side_pd .smt_10 .sct_cart,
#side_pd .smt_10 .cart-layer {
    display: none !important;
}

/* 사이드에 owl이 붙어도 슬라이드/가로폭 0 방지 */
#side_pd .owl-carousel,
#side_pd .owl-stage-outer,
#side_pd .owl-stage,
#side_pd .owl-item {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
    float: none !important;
}

#side_pd .owl-nav,
#side_pd .owl-dots {
    display: none !important;
}

#aside #sbn_side,
#aside .sbn,
#aside .sb_bn {
    max-width: 100%;
    overflow: hidden;
}

#aside #sbn_side img,
#aside .sb_bn img,
#aside .sbn img {
    display: block;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}

/* ── 내용관리(약관·개인정보·회사소개) ── */
#wrapper.is_community #container {
    background:
        linear-gradient(180deg, #f3f3f3 0%, var(--shop-bg) 220px);
}

#ctt.ctt_page {
    max-width: 920px;
    margin: 16px auto 56px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--shop-border);
    border-radius: 14px;
    background: var(--shop-white);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

#ctt.ctt_page .ctt_head {
    position: relative;
    margin: 0;
    padding: 34px 40px 28px;
    border-bottom: 1px solid var(--shop-border);
    background:
        linear-gradient(135deg, #fafafa 0%, #ffffff 48%, #f5f5f5 100%);
}

#ctt.ctt_page .ctt_head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--shop-accent);
}

#ctt.ctt_page .ctt_eyebrow {
    margin: 0 0 10px;
    color: var(--shop-text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: none;
}

#ctt.ctt_page .ctt_head h1 {
    position: static;
    margin: 0;
    overflow: visible;
    color: var(--shop-text);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

#ctt.ctt_page .ctt_body {
    padding: 32px 40px 40px;
    color: var(--shop-text-sub);
    font-size: 1rem;
    line-height: 1.9;
}

#ctt.ctt_page .content_body > *:first-child {
    margin-top: 0;
}

#ctt.ctt_page .content_body > *:last-child {
    margin-bottom: 0;
}

#ctt.ctt_page .content_body p {
    margin: 0 0 1.15em;
}

#ctt.ctt_page .content_body .lead {
    margin: 0 0 1.4em;
    padding: 18px 20px;
    border-left: 3px solid var(--shop-accent);
    border-radius: 0 8px 8px 0;
    background: var(--shop-bg-sub);
    color: var(--shop-text);
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.75;
}

#ctt.ctt_page .content_body h2 {
    margin: 2.2em 0 0.9em;
    padding: 0 0 0.55em;
    border-bottom: 1px solid var(--shop-border);
    color: var(--shop-text);
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

#ctt.ctt_page .content_body h2:first-child {
    margin-top: 0.2em;
}

#ctt.ctt_page .content_body ul,
#ctt.ctt_page .content_body ol {
    margin: 0 0 1.25em;
    padding: 0 0 0 1.2em;
}

#ctt.ctt_page .content_body li {
    margin: 0 0 0.5em;
}

#ctt.ctt_page .content_body li:last-child {
    margin-bottom: 0;
}

#ctt.ctt_page .content_section_title {
    margin: 1.8em 0 0.9em;
    color: var(--shop-text);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

#ctt.ctt_page .company_info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#ctt.ctt_page .company_info li {
    margin: 0;
    padding: 18px 18px 16px;
    border: 1px solid var(--shop-border);
    border-radius: 10px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

#ctt.ctt_page .company_info .label {
    display: block;
    margin-bottom: 8px;
    color: var(--shop-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
}

#ctt.ctt_page .company_info .value {
    display: block;
    color: var(--shop-text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    word-break: keep-all;
}

#ctt.ctt_page .company_info li:nth-child(4),
#ctt.ctt_page .company_info li:nth-child(5) {
    grid-column: 1 / -1;
}

#ctt.ctt_page .content_note {
    margin-top: 1.6em;
    padding: 16px 18px;
    border: 1px solid var(--shop-border);
    border-radius: 10px;
    background: #f7f7f7;
    color: var(--shop-text-sub);
    font-size: 0.92rem;
    line-height: 1.65;
}

#ctt.ctt_page .content_meta {
    margin-top: 2.2em;
    padding: 1.1em 0 0;
    border-top: 1px solid var(--shop-border);
    color: var(--shop-text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

@media (max-width: 720px) {
    #ctt.ctt_page .company_info {
        grid-template-columns: 1fr;
    }

    #ctt.ctt_page .company_info li:nth-child(4),
    #ctt.ctt_page .company_info li:nth-child(5) {
        grid-column: auto;
    }
}
