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