@charset "utf-8";
/* ==========================================================
   PV 미니멀 테마 (모바일)
   - 베이직 모바일 CSS(mobile_shop.css, 스킨 style.css) 위에 덮어씀
   - 색상은 PC(pvshop.css)와 동일
   ========================================================== */
:root {
    --pv-ink: #111111;
    --pv-sub: #4a4a46;
    --pv-muted: #6a6a64;
    --pv-line: #ececE8;
    --pv-soft: #f4f4f1;
    --pv-bg: #f7f7f4;
    --pv-img: #ececE8;
    --pv-accent: #1d5a44;
    --pv-accent-soft: #e3efe9;
    --pv-font: 'Noto Sans KR', AppleSDGothicNeo, 'Malgun Gothic', system-ui, sans-serif;
}

body, input, button, select, textarea, h1, h2, h3, h4, h5, h6 { font-family: var(--pv-font); }
body { background: #ffffff; color: var(--pv-ink); font-size: 14px; }
a { color: var(--pv-ink); }

/* ---------- 머리 ---------- */
#hd.pv-mhd { position: sticky; top: 0; z-index: 80; background: #ffffff; border-bottom: 1px solid var(--pv-line); }
.pv-mhd-bar { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.pv-mlogo { flex: 1; text-align: center; font-size: 19px; font-weight: 800; letter-spacing: -0.5px; text-decoration: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pv-mhd-right { display: flex; }
.pv-micon { position: relative; width: 44px; height: 44px; border: 0; background: transparent; color: var(--pv-ink); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 0; }
/* 베이직 모바일 CSS의 #btn_hdcate / #btn_hdsch (어두운 배경용 흰 글자, 절대 위치)를 덮어씀 */
#hd.pv-mhd #btn_hdcate, #hd.pv-mhd #btn_hdsch { position: relative; top: auto; left: auto; right: auto; width: 44px; height: 44px; color: var(--pv-ink); font-size: 0; }
.pv-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: var(--pv-accent); color: #ffffff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

#hd_sch.pv-msch { position: absolute; top: 0; left: 0; right: 0; width: auto; padding: 6px 8px; background: #ffffff; border-bottom: 1px solid var(--pv-line); }
.pv-msch-inner { display: flex; align-items: center; gap: 2px; }
.pv-msch-inner input { flex: 1; min-width: 0; height: 44px; border: 1px solid #e0e0db; border-radius: 22px; background: #f6f6f3; padding: 0 16px; font-size: 15px; color: var(--pv-ink); }
#hd_sch.pv-msch .btn_close { position: static; width: 44px; height: 44px; color: var(--pv-ink); }

/* 카테고리 서랍 */
.menu .menu_wr { background: #ffffff; }
#category .cate li a { font-size: 15px; }

/* 하위 페이지 제목 */
#container_title.pv-mtitle { font-size: 18px; font-weight: 800; padding: 16px; border-bottom: 1px solid var(--pv-line); background: #ffffff; }
#container { padding-bottom: 0; }

/* ---------- 공통 ---------- */
.pv-btn { height: 50px; padding: 0 26px; border-radius: 25px; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-sizing: border-box; }
.pv-btn-dark { background: var(--pv-ink); color: #ffffff !important; }
.pv-chip-badge { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--pv-accent); background: #ffffff; border-radius: 999px; padding: 6px 12px; }
.pv-chip { flex: 0 0 auto; height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid #e0e0db; background: #ffffff; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; text-decoration: none; }
.pv-more { font-size: 13px; color: var(--pv-sub); text-decoration: none; }
.pv-empty { margin: 0; padding: 40px 0; text-align: center; color: var(--pv-muted); background: var(--pv-soft); border-radius: 14px; font-size: 13px; }

/* ---------- 메인 ---------- */
#container.pv-mindex { background: #ffffff; }
.pv-mbanner { margin: 12px 16px 0; border-radius: 18px; overflow: hidden; }
.pv-mbanner img { width: 100%; height: auto; display: block; }
.pv-mhero { margin: 12px 16px 0; background: var(--pv-soft); border-radius: 20px; padding: 28px 22px; display: flex; flex-direction: column; gap: 14px; }
.pv-mhero-title { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -1px; }
.pv-mhero-desc { margin: 0; font-size: 14px; line-height: 1.7; color: var(--pv-sub); }
.pv-mhero .pv-btn { align-self: flex-start; }
.pv-mchips { display: flex; gap: 8px; overflow-x: auto; padding: 20px 16px 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pv-mchips::-webkit-scrollbar { display: none; }
/* 가운데 정렬, 넘치면 다음 줄로 */
.pv-mchips { flex-wrap: wrap; justify-content: center; overflow-x: visible; }
.pv-msection { padding: 36px 16px 0; }
.pv-msection-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.pv-msection-head h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.5px; }

/* 상품 카드 (2열) */
.pv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.pv-card-link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.pv-card-img { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--pv-img); margin-bottom: 4px; }
.pv-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-card-badge { position: absolute; left: 8px; top: 8px; background: var(--pv-ink); color: #ffffff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 4px 8px; }
.pv-card-soldout { position: absolute; inset: 0; background: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.pv-card-name { font-size: 14px; line-height: 1.45; color: var(--pv-ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pv-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.pv-card-price strong { font-size: 16px; font-weight: 800; color: var(--pv-ink); }
.pv-card-price del { font-size: 12px; color: #8a8a84; }
.pv-card-pv { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--pv-accent); background: var(--pv-accent-soft); border-radius: 6px; padding: 3px 7px; }

/* 기획전 카드 */
.pv-mevents { display: flex; flex-direction: column; gap: 12px; }
.pv-event-card { border-radius: 18px; background: var(--pv-soft); padding: 24px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.pv-event-card.is-accent { background: var(--pv-accent); color: #ffffff; }
.pv-event-label { font-size: 12px; font-weight: 700; color: var(--pv-sub); }
.pv-event-card.is-accent .pv-event-label { color: #ffffff; opacity: 0.9; }
.pv-event-title { font-size: 21px; line-height: 1.35; font-weight: 800; }

/* ---------- 상품 상세 ---------- */
#sit_ov { padding: 20px 16px; border-bottom: 0; }
#sit_title { font-size: 22px; font-weight: 800; line-height: 1.35; letter-spacing: -0.5px; color: var(--pv-ink); }
.sit_ov_tbl { color: var(--pv-sub); }
.sit_ov_tbl td strong { font-size: 22px; font-weight: 800; color: var(--pv-ink); }
.pv-item-pv { margin: 14px 0 0; border-radius: 14px; background: var(--pv-accent-soft); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pv-item-pv-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--pv-accent); }
.pv-pv-mark { width: 28px; height: 28px; border-radius: 50%; background: var(--pv-accent); color: #ffffff; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.pv-item-pv-value { font-size: 18px; font-weight: 800; color: var(--pv-accent); }
#sit_tab .tab_tit li .selected { color: var(--pv-ink); }
#sit_tab .tab_tit li .selected:before { background: var(--pv-ink); }

/* 하단 구매하기 바 + 옵션 창 */
.btn_option_wr { border-top: 1px solid var(--pv-line); box-shadow: 0 -4px 16px rgba(0,0,0,0.06); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-sizing: border-box; }
.btn_option_wr .btn_cart_op { height: 52px; border-radius: 26px; background: var(--pv-ink); border: 0; color: #ffffff; font-size: 16px; font-weight: 700; }
#btn_option { border-top: 1px solid var(--pv-line); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 24px rgba(0,0,0,0.1); padding-bottom: env(safe-area-inset-bottom); }
#btn_option .btn_close { border: 1px solid var(--pv-line); border-bottom: 0; border-radius: 10px 10px 0 0; }
#btn_option .sl_option { padding: 16px; max-height: 320px; }
#sit_tot_price strong { font-size: 20px; font-weight: 800; }
.pv-tot-pv { display: flex; justify-content: space-between; align-items: baseline; margin: -4px 0 12px; font-size: 14px; font-weight: 700; color: var(--pv-accent); }
.pv-tot-pv strong { font-size: 18px; font-weight: 800; }
#sit_ov_btn { display: flex; gap: 8px; }
#sit_ov_btn #sit_btn_cart, #sit_ov_btn #sit_btn_buy, #sit_ov_btn #sit_btn_wish { float: none; margin: 0; }
#sit_ov_btn #sit_btn_wish { order: -1; flex: 0 0 52px; width: 52px; height: 52px; line-height: 52px; border-radius: 26px; border: 1px solid #e0e0db; color: var(--pv-ink); box-sizing: border-box; }
#sit_ov_btn #sit_btn_cart, #sit_ov_btn #sit_btn_buy { flex: 1 1 0; width: auto; height: 52px; line-height: normal; border-radius: 26px; font-size: 15px; font-weight: 700; -webkit-appearance: none; appearance: none; }
#sit_ov_btn #sit_btn_cart { background: #ffffff; border: 1px solid var(--pv-ink); color: var(--pv-ink); }
#sit_ov_btn #sit_btn_buy { background: var(--pv-ink); border: 1px solid var(--pv-ink); color: #ffffff; }

/* ---------- 하단 ---------- */
#ft.pv-mft { background: var(--pv-soft); padding: 28px 16px 24px; margin-top: 48px; color: var(--pv-sub); }
.pv-mft-brand { display: block; font-size: 17px; color: var(--pv-ink); margin-bottom: 10px; }
.pv-mft-links { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.pv-mft-links a { color: var(--pv-sub); text-decoration: none; }
#ft.pv-mft p.pv-mft-info { margin: 0; padding: 0; font-size: 12px; line-height: 1.9; color: var(--pv-sub); }
#ft.pv-mft p.pv-mft-copy { margin: 12px 0 0; padding: 0; font-size: 11px; color: var(--pv-muted); }
.pv-mft-pc { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--pv-sub); border: 1px solid #d8d8d2; border-radius: 16px; padding: 6px 12px; text-decoration: none; }

/* ---------- 하단 탭 ---------- */
.pv-tabbar-space { height: calc(64px + env(safe-area-inset-bottom)); }
.pv-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; height: 64px; padding-bottom: env(safe-area-inset-bottom); background: #ffffff; border-top: 1px solid var(--pv-line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pv-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--pv-muted); text-decoration: none; }
.pv-tabbar a.is-on { color: var(--pv-ink); font-weight: 700; }
/* 화면 편집: 로고 이미지·공지 띠 */
.pv-mlogo img { display: inline-block; max-height: 30px; width: auto; vertical-align: middle; }
.pv-mnotice { background: var(--pv-ink); color: #fff; font-size: 12px; line-height: 1.4; text-align: center; padding: 8px 16px; }
.pv-mnotice a { color: inherit; text-decoration: none; }

/* ---------- 메인 한 칸 슬라이드 (홈 관리) ---------- */
.pv-slider { position: relative; overflow: hidden; background: var(--pv-img); isolation: isolate; }
.pv-mslider { margin: 12px 16px 0; border-radius: 18px; aspect-ratio: 1 / 1; }
.pv-slider-track { display: flex; height: 100%; will-change: transform; touch-action: pan-y; }
.pv-slide { position: relative; flex: 0 0 100%; height: 100%; }
.pv-slide img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.pv-slide-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.pv-slide-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 20px 44px; display: flex; flex-direction: column; gap: 6px; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0)); pointer-events: none; }
.pv-slide-text strong { font-size: 24px; line-height: 1.3; font-weight: 800; letter-spacing: -0.6px; }
.pv-slide-text span { font-size: 13px; line-height: 1.5; opacity: .92; }
/* 배너별 위치는 PC와 공유하며, 모바일에서는 문구와 조작부 사이 여백 확보. */
.pv-slide-text { box-sizing: border-box; max-height: 100%; overflow-y: auto; overflow-wrap: anywhere; pointer-events: auto; }
.pv-slide-text > * { max-width: 100%; min-width: 0; flex-shrink: 0; }
.pv-slide-text.pv-text-x-left { align-items: flex-start; text-align: left; }
.pv-slide-text.pv-text-x-center { align-items: center; text-align: center; }
.pv-slide-text.pv-text-x-right { align-items: flex-end; text-align: right; }
.pv-slide-text.pv-text-y-top { top: 0; bottom: auto; padding: 44px 20px 60px; background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent); }
.pv-slide-text.pv-text-y-center { top: 0; bottom: 0; padding: 44px 20px; justify-content: center; justify-content: safe center; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.38) 50%, transparent); }
.pv-slider-arrow { display: none; }
.pv-slider-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.pv-slider-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.55); transition: width .3s, background .3s; }
.pv-slider-dots button.is-on { width: 20px; background: #fff; }
.pv-slider-count { position: absolute; right: 14px; top: 14px; z-index: 2; padding: 2px 9px; border-radius: 999px; background: rgba(0,0,0,.35); color: #fff; font-size: 11px; }
/* 이미지가 없을 때 문구 한 칸 */
.pv-hero-one { margin: 12px 16px 0; padding: 28px 22px; border-radius: 20px; background: var(--pv-soft); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pv-hero-one-title { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -1px; }
.pv-hero-one-desc { margin: 0; font-size: 14px; line-height: 1.7; color: var(--pv-sub); }
/* 메뉴 서랍 위쪽 메뉴 (카테고리&메뉴 관리) */
.pv-mmenu { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--pv-line); }
.pv-mmenu a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid #e0e0db; border-radius: 18px; font-size: 14px; font-weight: 600; color: var(--pv-ink); text-decoration: none; }

/* 상품 상세 배송/교환 탭 (주문관리 > 배송·교환 관리에서 자동 생성) */
.pv-dex-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; border-top: 2px solid var(--pv-ink); font-size: 14px; line-height: 1.6; }
.pv-dex-table th, .pv-dex-table td { padding: 12px 14px; border-bottom: 1px solid var(--pv-line); text-align: left; vertical-align: top; }
.pv-dex-table th { width: 130px; background: var(--pv-soft); color: var(--pv-sub); font-weight: 700; white-space: nowrap; }
.pv-dex-table td { color: var(--pv-ink); }
.pv-dex-table small { color: var(--pv-muted); font-size: 12px; }
.pv-dex-table ul { margin: 0; padding-left: 18px; }
.pv-dex-table li { margin: 2px 0; }
.pv-dex-note { margin: 0 0 14px; color: var(--pv-sub); font-size: 13px; line-height: 1.7; }
.pv-dex-table { font-size: 13px; } .pv-dex-table th { width: 96px; padding: 10px; white-space: normal; } .pv-dex-table td { padding: 10px; }

/* 수익링크: 상품 상세 공유 상자 */
.pv-share { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 0; padding: 14px 16px; border: 1px dashed #c9d9d0; border-radius: 14px; background: #fff; }
.pv-share-text strong { display: block; font-size: 14px; font-weight: 800; color: var(--pv-ink); }
.pv-share-text span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--pv-sub); }
.pv-share-text b { color: var(--pv-accent); }
.pv-share-btn { flex: 0 0 auto; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--pv-accent); border-radius: 20px; background: var(--pv-accent); color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pv-share-btn:hover { background: #164836; }
.pv-share-btn.is-done { background: #fff; color: var(--pv-accent) !important; }
.pv-share { margin: 10px 0 0; } .pv-share-btn { height: 36px; padding: 0 12px; }

/* 마이페이지 공유 수익 줄 + 공유 수익 화면 */
.pv-my-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 10px; padding: 14px 18px; border: 1px solid var(--pv-line); border-radius: 14px; background: #fff; color: var(--pv-sub); font-size: 14px; text-decoration: none; }
.pv-my-ref:hover { border-color: var(--pv-ink); }
.pv-my-ref-title { font-weight: 800; color: var(--pv-ink); }
.pv-my-ref b { color: var(--pv-accent); }
.pv-my-ref-more { margin-left: auto; font-weight: 700; color: var(--pv-ink); }
.pv-share-page { max-width: 880px; margin: 24px auto 0; }
.pv-share-hero { padding: 28px; border-radius: 20px; background: var(--pv-accent-soft); }
.pv-share-hero h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: var(--pv-accent); }
.pv-share-hero p { margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: var(--pv-sub); }
.pv-share-hero b { color: var(--pv-ink); }
.pv-share-link { display: flex; gap: 8px; }
.pv-share-link input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #cfe0d7; border-radius: 12px; background: #fff; font-size: 14px; color: var(--pv-ink); }
.pv-share-hint { display: block; margin-top: 8px; font-size: 12px; color: var(--pv-muted); }
.pv-share-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.pv-share-stats > div { padding: 16px; border: 1px solid var(--pv-line); border-radius: 14px; background: #fff; color: var(--pv-muted); font-size: 13px; }
.pv-share-stats span { display: block; font-weight: 700; color: var(--pv-sub); }
.pv-share-stats strong { font-size: 24px; font-weight: 800; color: var(--pv-ink); margin-right: 2px; }
.pv-share-stats .is-main strong { color: var(--pv-accent); }
.pv-share-list h3 { margin: 8px 0 10px; font-size: 16px; font-weight: 800; }
.pv-share-list ul { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--pv-ink); }
.pv-share-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--pv-line); }
.pv-share-item strong { display: block; font-size: 14px; color: var(--pv-ink); }
.pv-share-item span { font-size: 12px; color: var(--pv-muted); }
.pv-share-reward { text-align: right; white-space: nowrap; }
.pv-share-reward b { display: block; font-size: 16px; color: var(--pv-ink); }
.pv-share-reward em { font-style: normal; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: #fff3dc; color: #8a5a00; }
.pv-share-list li.is-confirmed .pv-share-reward em { background: var(--pv-accent-soft); color: var(--pv-accent); }
.pv-share-list li.is-canceled { opacity: .55; }
.pv-share-list li.is-canceled .pv-share-reward b { text-decoration: line-through; }
.pv-share-empty { padding: 32px 0; text-align: center; color: var(--pv-muted); }
.pv-share-page { margin: 12px 16px 0; } .pv-share-hero { padding: 20px; } .pv-share-stats { grid-template-columns: 1fr 1fr; } .pv-my-ref { margin: 10px 0 0; font-size: 13px; } .pv-my-ref-more { margin-left: 0; width: 100%; }

/* ---------- 카테고리·목록 화면: 홈과 같은 모양 (모바일) ---------- */
#sct_ct_1, .sct_ct, #sct_ct_2, #sct_ct_3 { margin: 0 0 12px; padding: 0 16px; border: 0; background: none; }
.sct_ct h2, #sct_ct_1 h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sct_ct ul, #sct_ct_1 ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; list-style: none; }
.sct_ct li, #sct_ct_1 li { float: none; width: auto; margin: 0; padding: 0; border: 0; background: none; }
.sct_ct li a, #sct_ct_1 li a { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid #e0e0db; border-radius: 19px; background: #fff; color: var(--pv-ink); font-size: 13px; text-decoration: none; }
#sct_sortlst { display: flex; justify-content: flex-end; margin: 0 16px 14px; padding: 0 0 10px; border: 0; border-bottom: 1px solid var(--pv-line); background: none; }
#sct_sort { float: none; margin: 0; padding: 0; border: 0; background: none; }
#sct_sort h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#sct_sort ul { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
#sct_sort li { float: none; margin: 0; padding: 0; border: 0; background: none; }
#sct_sort li a { border: 0 !important; padding: 0 !important; color: var(--pv-muted); font-size: 12px; text-decoration: none; }
#sct_sort li a:hover { color: var(--pv-ink); }
.sct_lst, #sct_lst { display: none !important; }
/* 모바일 정렬: 드롭다운 대신 한 줄 글자 링크 (PC와 같게) */
#sct_sort .btn_sort { display: none !important; }
#sct_sort ul { position: static !important; display: flex !important; width: auto; min-width: 0; padding: 0; border: 0; background: none; box-shadow: none; }
#sct_sort li a { display: inline; height: auto; line-height: 1.6; }
/* 목록 카드 좌우 여백 (홈과 같게) */
#sct > .pv-grid, #sct .pv-grid { padding: 0 16px; }
#sct > .pv-empty { padding: 40px 16px; }
.sct_ct li a.sct_ct_here, #sct_ct_1 li a.sct_ct_here { background: var(--pv-ink); border-color: var(--pv-ink); color: #fff; }
.sct_ct li a.sct_ct_here .prd_cnt { color: #ddd; }

/* ---------- 검색 결과 (모바일) : 목록 화면과 같은 모양 ---------- */
#ssch { padding: 0 16px; }
#ssch_ov { margin: 4px 0 12px; padding: 0; border: 0; background: none; font-size: 13px; color: var(--pv-muted); }
#ssch_ov b { color: var(--pv-accent); }
#ssch_frm { margin: 0 0 16px; padding: 16px; border: 0; border-radius: 16px; background: var(--pv-soft); }
#ssch_frm .sch_wr { position: relative; display: flex; gap: 8px; margin: 0; padding: 0; border: 0; background: none; }
#ssch_frm .sch_wr #ssch_q { flex: 1 1 auto; width: auto; height: 48px; padding: 0 14px; border: 1px solid #dcdcd6; border-radius: 12px; background: #fff; font-size: 16px; }
#ssch_frm .sch_wr .sch_submit { position: static; flex: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--pv-ink); color: #fff; font-size: 16px; }
#ssch_frm .sch_wr p { display: none; }
#ssch_frm .chk_box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; padding: 0; border: 0; font-size: 13px; color: var(--pv-sub); }
#ssch_frm .chk_box br { display: none; }
#ssch_frm .chk_box .sound_only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
#ssch_frm .chk_box input[type=checkbox] { position: absolute !important; width: 1px !important; height: 1px !important; margin: 0 !important; opacity: 0 !important; pointer-events: none; }
#ssch_frm .chk_box label[for^=ssch_q] { display: inline-flex; align-items: center; height: 32px; margin: 0; padding: 0 12px !important; border: 1px solid #dcdcd6; border-radius: 16px; background: #fff; color: var(--pv-muted); font-size: 13px; }
#ssch_frm .chk_box label[for^=ssch_q] > span:first-child { display: none; }
#ssch_frm .chk_box input[type=checkbox]:checked + label { border-color: var(--pv-ink); color: var(--pv-ink); font-weight: 700; }
#ssch_frm .chk_box input[type=checkbox]:checked + label::before { content: ""; width: 5px; height: 9px; margin: -3px 7px 0 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#ssch_frm .chk_box #ssch_qfrom, #ssch_frm .chk_box #ssch_qto { width: 96px; height: 34px; padding: 0 10px; border: 1px solid #dcdcd6; border-radius: 10px; background: #fff; text-align: right; font-size: 13px; }
#ssch_cate { margin: 0 0 10px; padding: 0; border: 0; background: none; }
#ssch_cate ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; list-style: none; }
#ssch_cate li { float: none; width: auto; margin: 0; padding: 0; border: 0; background: none; }
#ssch_cate li a { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px; border: 1px solid #e0e0db; border-radius: 18px; background: #fff; color: var(--pv-ink); font-size: 13px; text-decoration: none; }
#ssch_cate li a span { color: var(--pv-muted); }
#ssch_sort { display: flex; justify-content: flex-end; margin: 0 0 14px; padding: 0 0 10px; border: 0; border-bottom: 1px solid var(--pv-line); background: none; }
#ssch_sort .btn_sort { display: none !important; }
#ssch_sort ul { position: static !important; display: flex !important; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; width: auto; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; list-style: none; }
#ssch_sort li { float: none; margin: 0; padding: 0; border: 0; }
#ssch_sort li a { border: 0 !important; padding: 0 !important; color: var(--pv-muted); font-size: 12px; text-decoration: none; line-height: 1.6; }
#ssch_cate li { width: auto !important; flex: none; display: block; }

/* 이용약관·개인정보처리방침 페이지 (bbs/content.php) */
.pv-terms { max-width: 860px; margin: 0 auto 60px; padding: 0 16px; font-size: 14px; line-height: 1.8; color: #333; text-align: left; word-break: keep-all; }
.pv-terms .pv-terms-h { margin: 28px 0 8px; padding: 0; font-size: 16px; font-weight: 800; color: #111; }
.pv-terms p { margin: 0 0 6px; }
