@charset "utf-8";

/* 불교용품 쇼핑몰 - 클래식 화이트 톤 (모바일) */
@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;
    /* 앱 WebView / 노치·카메라 컷아웃 여백 */
    --sat: env(safe-area-inset-top, 0px);
    --sab: env(safe-area-inset-bottom, 0px);
    --sal: env(safe-area-inset-left, 0px);
    --sar: env(safe-area-inset-right, 0px);
}

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

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

#hd {
    background: var(--shop-white);
    border-bottom: 1px solid var(--shop-border);
    padding-top: var(--sat);
}

/* 상단 절대배치 버튼이 노치/상태바에 가리지 않도록 */
#btn_hdcate,
#btn_hdsch,
#btn_hdcart,
#btn_hduser {
    top: var(--sat) !important;
}

/* 분류 메뉴 전체화면 */
.menu {
    padding-top: var(--sat);
    padding-bottom: var(--sab);
    padding-left: var(--sal);
    padding-right: var(--sar);
}

/* 스크롤 시 고정되는 페이지 타이틀 */
.fixed #container_title {
    top: var(--sat);
    padding-left: var(--sal);
    padding-right: var(--sar);
}

#container.fixed {
    padding-top: calc(60px + var(--sat)) !important;
}

/* 하단 고정 버튼(장바구니/구매 등) */
#btn_option,
.btn_option_wr,
#sod_bsk_act {
    padding-bottom: calc(10px + var(--sab)) !important;
    padding-left: max(10px, var(--sal));
    padding-right: max(10px, var(--sar));
}

#hd #logo img {
    max-height: 40px;
}

/* 메인 배너 */
#main_bn {
    margin: 0 0 12px;
    overflow: hidden;
}

#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: 180px;
    aspect-ratio: 913 / 368;
    height: auto;
    object-fit: cover;
    object-position: center;
}

#main_bn {
    position: relative;
}

#main_bn .btn_wr {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    height: 32px;
    padding: 0 4px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.55);
    box-sizing: border-box;
    width: auto;
    line-height: 1;
}

#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;
    width: auto;
    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: 26px;
    height: 26px;
    font-size: 1.1em;
}

#main_bn #slide-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    font-size: 0.8em;
    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_bn_single .btn_wr {
    display: none;
}

/* 상단 아이콘 버튼 */
#btn_hdcate,
#btn_hdsch,
#btn_hdcart,
#btn_hduser {
    color: var(--shop-text);
}

/* 모바일 검색 패널 */
#hd_sch {
    background: var(--shop-white);
    border-bottom: 1px solid var(--shop-border);
    padding: calc(10px + var(--sat)) 50px 10px 10px;
}

#hd_sch .sch_inner {
    border: 1px solid var(--shop-border-dark);
    border-radius: 6px;
    overflow: hidden;
    background: var(--shop-white);
}

#hd_sch #sch_str {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 44px;
    border: 0;
    background: var(--shop-white);
    color: var(--shop-text);
    font-size: 1em;
    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;
}

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

#hd_sch .sch_submit {
    color: var(--shop-text-muted);
    background: transparent;
    height: 40px;
    width: 44px;
}

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

#hd_sch .btn_close {
    color: var(--shop-text-muted);
    top: calc(10px + var(--sat));
}

#ft {
    background: var(--shop-bg-sub);
    border-top: 1px solid var(--shop-border-dark);
    color: var(--shop-text-sub);
    padding: 24px 16px calc(28px + var(--sab));
    text-align: left;
}

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

#ft_link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 18px;
    padding: 0 0 16px;
    list-style: none;
    border-bottom: 1px solid var(--shop-border);
}

#ft_link li {
    position: relative;
    padding: 0 10px;
    line-height: 1.2;
}

#ft_link li:first-child {
    padding-left: 0;
}

#ft_link li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 12px;
    margin-top: -6px;
    background: var(--shop-border-dark);
}

#ft_link a {
    display: inline-block;
    color: var(--shop-text) !important;
    font-size: 0.9em;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

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

#ft_logo {
    margin: 0 0 16px;
    padding: 0;
}

#ft_logo img {
    max-height: 38px;
    width: auto;
    vertical-align: middle;
}

#ft .ft_info {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 0.9em;
}

#ft .ft_info_row,
#ft .ft_info_item {
    display: block;
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid var(--shop-border);
}

#ft .ft_info_row--multi {
    padding: 0;
    border-bottom: 0;
}

#ft .ft_info_row--multi .ft_info_item:last-child {
    border-bottom: 0;
}

#ft .ft_lbl {
    display: block;
    margin-bottom: 3px;
    font-size: 0.78em;
    font-weight: 600;
    color: var(--shop-text-muted);
    letter-spacing: -0.02em;
}

#ft .ft_val {
    display: block;
    color: var(--shop-text-sub);
    font-size: 0.92em;
    line-height: 1.55;
    word-break: keep-all;
}

#ft .ft_copy_m {
    margin: 16px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--shop-border);
    color: var(--shop-text-muted) !important;
    font-size: 0.82em;
    line-height: 1.6;
    text-align: center;
}

.ft_device {
    margin: 16px 0 0;
    padding-top: 0;
    border-top: 0;
}

#device_change {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: center;
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.4;
    color: var(--shop-text) !important;
    background: var(--shop-white);
    border: 1px solid var(--shop-border-dark);
    border-radius: 6px;
    text-decoration: none;
    box-sizing: border-box;
}

#device_change:active {
    background: var(--shop-bg-sub);
    border-color: var(--shop-text-muted);
}

.sct_wrap {
    background: var(--shop-white);
    border-bottom: 1px solid var(--shop-border);
    padding: 16px 12px;
}

.sct_wrap header h2,
.sct_wrap > h2 {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    color: var(--shop-text);
    border-bottom: 1px solid var(--shop-border);
    padding-bottom: 10px;
}

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

/* 공지사항 (모바일 메인) */
#sidx_lat.notice,
#sidx_lat .notice {
    padding: 0;
}

#sidx_lat .notice h2 {
    margin-bottom: 12px;
}

#sidx_lat .notice h2 a {
    color: var(--shop-text) !important;
    font-weight: 500;
    font-size: 1.1em;
}

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

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

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

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

.sct_txt a,
.sct_cost {
    color: var(--shop-text);
}

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

/* 상품 목록 위시/공유 버튼 — 기본 버튼 테두리 제거 */
.sct .sct_op_btn,
.sct_wrap .smt_10 .sct_op_btn,
.sct_wrap .smt_carousel .sct_op_btn {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 0;
    border: 0;
    background: transparent;
    padding: 0;
}

.sct .sct_op_btn > button,
.sct .sct_op_btn .btn_share,
.sct .sct_op_btn .btn_sns_share,
.sct_wrap .smt_10 .sct_op_btn > button,
.sct_wrap .smt_carousel .sct_op_btn > button,
.sct_wrap .smt_10 .sct_op_btn .btn_share,
.sct_wrap .smt_carousel .sct_op_btn .btn_share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--shop-text-muted, #949494);
    font-size: 1.15em;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

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

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

a.btn_frmline,
button.btn_frmline,
.cp_btn,
.cp_apply,
.sod_list .total_price strong,
#m_sod_bsk_tot .sod_bsk_cnt strong,
#smb_my_ov .my_name a.smb_info,
#sod_inquiry li .inquiry_price,
.sod_opt li:before {
    color: var(--shop-accent);
}

#sod_fin_tot ul {
    border-color: var(--shop-border-dark);
}

/* 마이페이지 프로필 */
#smb_my_ov {
    margin-right: 0;
}

#smb_my_ov .my_name {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
}

#smb_my_ov .my_profile {
    flex-shrink: 0;
}

#smb_my_ov .my_profile img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

#smb_my_ov .my_profile_txt {
    flex: 1;
    min-width: 0;
    padding-top: 6px;
}

#smb_my_ov .my_nick {
    margin: 0 0 12px;
    font-size: 1.125em;
    line-height: 1.4;
    color: var(--shop-text);
}

#smb_my_ov .my_name > strong {
    display: inline;
}

#smb_my_ov .smb_my_act {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#smb_my_ov .smb_my_act li a {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.85em;
    border: 1px solid var(--shop-border);
    border-radius: 4px;
    line-height: 1.4;
    height: auto;
    background: var(--shop-white);
    color: var(--shop-text-sub);
}

/* 모바일 카테고리 드로어 */
.menu,
.menu .menu_wr,
#category.menu .menu_wr {
    background: var(--shop-white);
}

#category .cate > li > a {
    color: var(--shop-text);
    font-weight: 600;
}

#category .sub_cate a {
    color: var(--shop-text-sub);
}

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

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

#cate_tnb a i {
    color: var(--shop-text-muted);
}

/* ── 전역 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,
.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,
.reply_btn: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,
.sod_list .total_price strong,
#m_sod_bsk_tot .sod_bsk_cnt strong,
#sod_inquiry li .inquiry_price,
.point_list .point_num,
.sit_btn_opt .btn_sns_share:hover,
#fregisterform .cert_desc,
.new_win .win_total,
#smb_my_ov .win_point strong,
#bo_cate a:hover,
#bo_cate #bo_cate_on,
#faq_wrap li h3.faq_li_open a,
#sev .ev_prd .sev_more,
#sit_tab .tab_tit li .selected,
#sps_sch a,
#sqa_sch a {
    color: var(--shop-accent) !important;
}

#sit_tab .tab_tit li .selected:before {
    background: var(--shop-accent) !important;
}

a.btn_frmline,
button.btn_frmline,
.cp_apply,
.cp_btn,
#sit_btn_phone {
    background: var(--shop-white) !important;
    border-color: var(--shop-accent) !important;
    color: var(--shop-accent) !important;
}

#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;
}

#bo_cate #bo_cate_on: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: 5px 10px;
    line-height: 1.35;
    font-size: 0.82em;
    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;
}

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

/* 카테고리 드로어 - 로그인 프로필 영역 */
#category #ol_after_hd {
    background: var(--shop-bg-sub);
    color: var(--shop-text);
    border-bottom: 1px solid var(--shop-border);
}

#category #ol_after_hd .nickname {
    color: var(--shop-text);
    font-weight: 600;
}

#category #ol_after_hd strong,
#category #ol_after_hd .point {
    color: var(--shop-text-sub);
}

#category #ol_after_hd .menu_close {
    color: var(--shop-text-muted) !important;
}

#category #ol_after_logout {
    background: var(--shop-white) !important;
    border-color: var(--shop-border-dark) !important;
    color: var(--shop-text-sub) !important;
}

#category #ol_before {
    background: var(--shop-bg-sub);
    color: var(--shop-text);
    border-bottom: 1px solid var(--shop-border);
}

#category #ol_before .ol_before_link .join {
    color: var(--shop-text-sub) !important;
    background: var(--shop-white) !important;
    border-color: var(--shop-border-dark) !important;
}

/* 쪽지 답장 (모바일 팝업) */
#memo_reply.new_win {
    background: var(--shop-white);
}

#memo_reply .new_win_con2 {
    margin: 0;
    padding-bottom: 20px;
}

#memo_reply #win_title {
    font-size: 1.15em;
    font-weight: 600;
    padding: 14px 15px;
    border-bottom: 1px solid var(--shop-border);
    box-shadow: none;
}

#memo_reply .win_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 12px 15px;
    background: var(--shop-bg-sub);
    border-bottom: 1px solid var(--shop-border);
    list-style: none;
}

#memo_reply .win_ul:after {
    display: none;
}

#memo_reply .win_ul li {
    float: none;
    flex: 1 1 30%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--shop-border);
    border-radius: 20px;
    background: var(--shop-white);
}

#memo_reply .win_ul li a {
    display: block;
    padding: 8px 6px;
    text-align: center;
    font-size: 0.85em;
    color: var(--shop-text-muted);
    white-space: nowrap;
}

#memo_reply .win_ul li.selected {
    background: var(--shop-accent);
    border-color: var(--shop-accent);
}

#memo_reply .win_ul li.selected a {
    color: var(--shop-white) !important;
    font-weight: 600;
}

#memo_reply .memo_reply_origin,
#memo_reply .memo_reply_write {
    margin: 12px 15px 0;
    border: 1px solid var(--shop-border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--shop-white);
}

#memo_reply .memo_reply_write {
    margin-top: 10px;
}

#memo_reply .memo_reply_tit {
    margin: 0;
    padding: 11px 14px;
    font-size: 0.92em;
    font-weight: 600;
    color: var(--shop-text);
    background: var(--shop-bg-sub);
    border-bottom: 1px solid var(--shop-border);
}

#memo_reply .memo_reply_meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--shop-border);
}

#memo_reply .memo_reply_profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--shop-border);
}

#memo_reply .memo_reply_nick {
    display: block;
    font-size: 0.95em;
    font-weight: 600;
    color: var(--shop-text);
}

#memo_reply .memo_reply_date {
    display: block;
    margin-top: 3px;
    font-size: 0.82em;
    color: var(--shop-text-muted);
}

#memo_reply .memo_reply_original {
    padding: 12px 14px;
    min-height: 50px;
    line-height: 1.65;
    color: var(--shop-text-sub);
    background: var(--shop-white);
    font-size: 0.92em;
    word-break: break-word;
}

#memo_reply .memo_reply_write .form_01 {
    padding: 14px;
    border-top: 0;
}

#memo_reply .form_01 > ul > li {
    margin-bottom: 12px;
}

#memo_reply .form_01 > ul > li:last-child {
    margin-bottom: 0;
}

#memo_reply .memo_reply_lbl {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--shop-text);
}

#memo_reply .memo_reply_to {
    margin: 0;
    padding: 10px 12px;
    background: var(--shop-bg-sub);
    border: 1px solid var(--shop-border);
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--shop-text-sub);
}

#memo_reply textarea {
    width: 100%;
    min-height: 110px;
    padding: 10px 12px;
    border: 1px solid var(--shop-border-dark);
    border-radius: 4px;
    font-size: 0.95em;
    line-height: 1.5;
    box-sizing: border-box;
    resize: vertical;
}

#memo_reply .frm_info {
    margin-top: 8px;
    font-size: 0.85em;
    color: var(--shop-text-muted);
}

#memo_reply .win_btn {
    display: flex;
    gap: 8px;
    padding: 15px;
    margin: 0;
}

#memo_reply .reply_btn {
    flex: 1;
    width: auto;
    max-width: none;
    margin: 0;
    border-radius: 4px;
}

#memo_reply .btn_close {
    flex: 1;
    width: auto;
    height: 45px;
    line-height: 45px;
    padding: 0;
    border: 1px solid var(--shop-border-dark);
    background: var(--shop-white);
    color: var(--shop-text-sub);
    border-radius: 4px;
    font-size: 1em;
}

#memo_reply .memo_reply_captcha img,
#memo_reply .memo_reply_captcha input {
    vertical-align: middle;
}

#memo_reply .memo_reply_captcha #captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* 쪽지 보기·쓰기·목록 (모바일 팝업 하단 버튼) */
#memo_view .win_btn,
#memo_write .win_btn,
#memo_list .win_btn {
    display: flex;
    gap: 8px;
    padding: 15px;
    margin: 0;
}

#memo_view .reply_btn,
#memo_write .reply_btn {
    flex: 1;
    width: auto;
    max-width: none;
    margin: 0;
    border-radius: 4px;
}

#memo_view .btn_close,
#memo_write .btn_close,
#memo_list .btn_close {
    flex: 1;
    width: auto !important;
    min-width: 0;
    overflow: visible !important;
    height: 45px;
    line-height: 45px;
    padding: 0 12px;
    border: 1px solid var(--shop-border-dark);
    background: var(--shop-white);
    color: var(--shop-text-sub);
    border-radius: 4px;
    font-size: 1em;
    white-space: nowrap;
}

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

#sit_star_sns .sns_area a {
    padding-top: 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,
.sct .sct_op_btn .btn_wish.wish_on i,
.sct_wrap .smt_carousel .sct_op_btn .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"; /* fa-heart */
}

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

#sit_pvi_slide .sit_item_video,
#sit_pvi_nwbig .sit_item_video {
    width: 100%;
}

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

/* 메인 상품 Owl 캐러셀 (모바일) */
.sct_wrap .smt_carousel.owl-carousel {
    position: relative;
    display: block;
    padding: 0 4px;
}

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

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

/* 메인 캐러셀 — 상품 이미지 위 장바구니 아이콘 */
.sct_wrap .smt_carousel .sct_img {
    position: relative;
    overflow: hidden;
}

.sct_wrap .smt_carousel .sct_img > a {
    display: block;
    position: relative;
    z-index: 1;
}

.sct_wrap .smt_carousel .sct_btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 4;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.sct_wrap .smt_carousel .sct_btn .sct_cart,
.sct_wrap .smt_carousel .sct_btn .btn_cart {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    margin: 0;
    border: none !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96) !important;
    color: var(--shop-text) !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.sct_wrap .smt_carousel .sct_btn .sct_cart i {
    display: block;
    margin: 0;
    font-size: 15px;
    line-height: 1;
}

.sct_wrap .smt_carousel .sct_btn .sct_cart:active {
    background: var(--shop-bg-sub) !important;
}

.sct_wrap .smt_carousel .cart-layer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sct_wrap .smt_carousel .cart-layer.sct_cartop {
    pointer-events: auto;
    z-index: 10;
}

.sct_wrap .smt_carousel .sct_li.overlay .sct_btn .sct_cart,
.sct_wrap .smt_carousel .sct_li.overlay .sct_btn .btn_cart {
    display: none !important;
}

/* 메인 smt_10 상품 카드 (모바일 skin에 smt_10 규칙 없음 — PC와 동일 배치) */
.sct_wrap .smt_10 .sct_ct_wrap,
.sct_wrap .smt_carousel .sct_ct_wrap {
    position: relative;
    margin-top: 8px;
    padding-bottom: 2px;
}

.sct_wrap .smt_10 .sct_ct_wrap:after,
.sct_wrap .smt_carousel .sct_ct_wrap:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.sct_wrap .smt_10 .sct_txt,
.sct_wrap .smt_carousel .sct_txt {
    border-bottom: 1px solid var(--shop-border, #d9dde2);
    font-size: 1.05em;
    margin: 8px 0 0;
    padding-bottom: 8px;
    line-height: 1.4;
}

.sct_wrap .smt_10 .sct_basic,
.sct_wrap .smt_carousel .sct_basic {
    margin: 4px 0;
    font-size: 0.9em;
}

.sct_wrap .smt_10 .sct_cost,
.sct_wrap .smt_carousel .sct_cost {
    margin: 6px 0 4px;
    font-size: 1.1em;
    font-weight: 700;
}

/* 장바구니 옵션 레이어 */
.sct_cartop_wr {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    padding: 10px;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0.98;
    box-sizing: border-box;
}

.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;
}

.sct_cartop_wr .it_option {
    width: 100%;
    height: 35px;
    margin-bottom: 5px;
}

.sct_cartop_wr .cartopt_cart_btn {
    width: 100%;
    border: 1px solid var(--shop-accent);
    padding: 8px 5px;
    margin-bottom: 5px;
    background: var(--shop-accent);
    color: #fff;
    border-radius: 3px;
}

.sct_cartop_wr .cartopt_close_btn {
    width: 100%;
    border: 1px solid var(--shop-accent);
    padding: 8px 5px;
    background: #fff;
    color: var(--shop-accent);
    border-radius: 3px;
}

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

.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: 36px;
    height: 36px;
    margin: 0 !important;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid var(--shop-border) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: var(--shop-text) !important;
    text-indent: 0 !important;
    opacity: 0.94;
    z-index: 1;
    pointer-events: auto;
}

.sct_wrap .owl-carousel .owl-nav button.owl-prev { left: 4px; }
.sct_wrap .owl-carousel .owl-nav button.owl-next { right: 4px; }

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

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

/* 주문취소 폼 — 취소(닫기) 버튼 */
#sod_fin_cancelfrm .sod_cancel_close {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid var(--shop-border-dark);
    background: #fff;
    color: var(--shop-text-sub);
    border-radius: 3px;
    cursor: pointer;
}

#sod_fin_cancelfrm {
    padding-right: 15px;
}

#sod_fin_cancelfrm .btn_frmline {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 4px;
}

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

#sit_ov_ready {
    margin: 10px 0;
    padding: 12px;
    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;
}

/* 상품 상·하단 HTML / 상세 — 에디터 원본 이미지 폭 제한 */
#sit_hhtml,
#sit_thtml,
#sit_inf_explan,
#sit_inf,
#container {
    max-width: 100%;
    box-sizing: border-box;
}

#sit_hhtml,
#sit_thtml,
#sit_inf_explan,
#sit_inf {
    overflow-x: hidden;
}

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

/* ── 내용관리(약관·개인정보·회사소개) ── */
#ctt.ctt_page {
    margin: 10px 10px 28px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    background: var(--shop-white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* 모바일은 상단 #container_title이 이미 제목을 보여줌 */
#ctt.ctt_page .ctt_head {
    display: none;
}

#ctt.ctt_page .ctt_body {
    padding: 18px 16px 22px;
    color: var(--shop-text-sub);
    font-size: 0.98rem;
    line-height: 1.85;
}

#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 1em;
}

#ctt.ctt_page .content_body .lead {
    margin: 0 0 1.15em;
    padding: 14px 14px;
    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.02rem;
    font-weight: 500;
    line-height: 1.65;
}

#ctt.ctt_page .content_body h2 {
    margin: 1.7em 0 0.7em;
    padding: 0 0 0.45em;
    border-bottom: 1px solid var(--shop-border);
    color: var(--shop-text);
    font-size: 1.05rem;
    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.1em;
    padding: 0 0 0 1.1em;
}

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

#ctt.ctt_page .content_section_title {
    margin: 1.4em 0 0.75em;
    color: var(--shop-text);
    font-size: 0.9rem;
    font-weight: 700;
}

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

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

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

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

#ctt.ctt_page .content_note {
    margin-top: 1.2em;
    padding: 14px 14px;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    background: #f7f7f7;
    color: var(--shop-text-sub);
    font-size: 0.88rem;
    line-height: 1.55;
}

#ctt.ctt_page .content_meta {
    margin-top: 1.6em;
    padding-top: 1em;
    border-top: 1px solid var(--shop-border);
    color: var(--shop-text-muted);
    font-size: 0.85rem;
    line-height: 1.65;
}
