@charset "utf-8";
/* ==========================================================
   PV 미니멀 테마 (PC)
   - 베이직 테마 CSS(default_shop.css) 위에 덮어쓰는 방식
   - 색상: 글자 #111111 / 회색 배경 #f4f4f1 / 강조 #1d5a44 / 강조 연한 #e3efe9
   ========================================================== */
:root {
    --pv-ink: #111111;
    --pv-sub: #4a4a46;
    --pv-muted: #6a6a64;
    --pv-line: #e8e8e4;
    --pv-soft: #f4f4f1;
    --pv-img: #ececE8;
    --pv-accent: #1d5a44;
    --pv-accent-soft: #e3efe9;
    --pv-sale: #a8432a;
    --pv-font: 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
}

/* ---------- 기본 ---------- */
body, input, button, select, textarea, h1, h2, h3, h4, h5, h6 { font-family: var(--pv-font); }
body { color: var(--pv-ink); background: #ffffff; font-size: 14px; }
a { color: var(--pv-ink); }
#wrapper { background: #ffffff; }
/* PC: 본문 폭 1200px + 양옆 최소 여백 32px (창이 좁아도 화면 끝에 붙지 않게) */
html body #hd, html body #wrapper, html body #ft { min-width: 1264px; }
#wrapper_title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; padding: 40px 0 24px; }

/* ---------- 상단 ---------- */
#hd.pv-hd { background: #ffffff; border-bottom: 1px solid var(--pv-line); min-width: 1264px; position: relative; z-index: 50; }
.pv-notice { background: var(--pv-ink); color: #ffffff; font-size: 13px; text-align: center; padding: 10px 16px; }
/* 로고: 왼쪽, 두 줄 높이의 세로 가운데 / 오른쪽 1줄: 검색·회원 메뉴, 2줄: 상단 메뉴(배너 바로 위) */
.pv-hd-inner { width: 1200px; margin: 0 auto; padding: 18px 0 0; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 32px; row-gap: 14px; }
.pv-hd-inner > .pv-logo { grid-column: 1; grid-row: 1 / span 2; align-self: center; margin-top: -18px; }
.pv-hd-inner > .pv-hd-util { grid-column: 2; grid-row: 1; justify-self: end; }
.pv-hd-inner > .pv-gnb { grid-column: 2; grid-row: 2; }
.pv-hd-inner .pv-text-btn { white-space: nowrap; }
.pv-logo { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; text-decoration: none; white-space: nowrap; }
.pv-gnb { order: 3; flex: 0 0 100%; height: 52px; display: flex; align-items: center; justify-content: flex-end; gap: 36px; font-size: 15px; font-weight: 600; }
.pv-gnb > a { text-decoration: none; }
.pv-gnb a:hover, .pv-logo:hover { color: var(--pv-accent); }
.pv-gnb-cate { position: relative; }
.pv-gnb-cate-btn { border: 0; background: transparent; font-size: 15px; font-weight: 500; color: var(--pv-ink); cursor: pointer; height: 44px; padding: 0; }
.pv-cate-layer { position: absolute; top: 48px; left: -16px; min-width: 200px; background: #ffffff; border: 1px solid var(--pv-line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); padding: 8px; display: flex; flex-direction: column; }
.pv-cate-layer[hidden] { display: none; }
.pv-gnb-cate:last-child .pv-cate-layer { left: auto; right: -16px; }
.pv-cate-layer a { padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.pv-cate-layer a:hover { background: var(--pv-soft); }
.pv-cate-empty { padding: 10px 12px; font-size: 13px; color: var(--pv-muted); }
.pv-hd-util { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.pv-search { display: flex; align-items: center; height: 44px; border: 1px solid #e0e0db; border-radius: 22px; background: #f6f6f3; padding: 0 6px 0 18px; margin-right: 8px; }
.pv-search input { width: 220px; border: 0; background: transparent; font-size: 14px; outline: none; }
.pv-search-btn { width: 36px; height: 36px; border: 0; border-radius: 18px; background: transparent; color: var(--pv-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pv-icon-btn { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--pv-ink); }
.pv-text-btn { height: 44px; padding: 0 8px; display: inline-flex; align-items: center; font-size: 13px; color: var(--pv-sub); text-decoration: none; }
.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; }
/* 베이직 CSS의 #top_btn(왼쪽 아래 고정)을 덮어씀: id+class 로 우선순위 확보 */
#top_btn.pv-top-btn { position: fixed; left: auto; right: 24px; bottom: 24px; margin: 0; width: 48px; height: 48px; border-radius: 24px; border: 1px solid var(--pv-line); background: #ffffff; color: var(--pv-ink); font-size: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.08); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; z-index: 60; }
#top_btn.pv-top-btn:hover { background: var(--pv-ink); border-color: var(--pv-ink); color: #ffffff; }

/* ---------- 공통 버튼·칩 ---------- */
.pv-btn { height: 52px; padding: 0 28px; border-radius: 26px; 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-btn-light { background: #ffffff; color: var(--pv-ink) !important; height: 44px; font-size: 14px; }
.pv-btn-line { border: 1px solid var(--pv-ink); color: var(--pv-ink); height: 44px; font-size: 14px; }
.pv-chip-badge { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--pv-accent); background: #ffffff; border-radius: 999px; padding: 8px 14px; }

/* ---------- 메인 ---------- */
.pv-is-index #container .shop-content { padding-bottom: 40px; }
.pv-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.pv-hero-text { background: var(--pv-soft); border-radius: 24px; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.pv-hero-title { margin: 0; font-size: 48px; line-height: 1.18; font-weight: 800; letter-spacing: -1.5px; }
.pv-hero-desc { margin: 0; font-size: 17px; line-height: 1.7; color: var(--pv-sub); }
.pv-hero-actions { display: flex; gap: 12px; margin-top: 8px; }
.pv-hero-visual { min-height: 440px; border-radius: 24px; overflow: hidden; background: #dcdcd6; }
.pv-hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-placeholder { height: 100%; min-height: 440px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #55554f; font-size: 15px; text-align: center; line-height: 1.8; }
.pv-placeholder small { font-size: 12px; }
.pv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.pv-chip { height: 44px; padding: 0 20px; border-radius: 22px; border: 1px solid #e0e0db; background: #ffffff; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; text-decoration: none; }
.pv-chip:hover { border-color: var(--pv-ink); }
.pv-section { margin-top: 64px; }
.pv-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.pv-section-head h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.pv-more { font-size: 14px; color: var(--pv-sub); text-decoration: none; }
.pv-empty { padding: 60px 0; text-align: center; color: var(--pv-muted); background: var(--pv-soft); border-radius: 16px; }

/* 상품 카드 */
.pv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pv-card-link { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.pv-card-img { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--pv-img); margin-bottom: 4px; }
.pv-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pv-card-link:hover .pv-card-img img { transform: scale(1.03); }
.pv-card-badge { position: absolute; left: 12px; top: 12px; background: var(--pv-ink); color: #ffffff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 6px 10px; }
.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; font-size: 15px; }
.pv-card-name { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--pv-ink); }
.pv-card-price { display: flex; align-items: baseline; gap: 8px; }
.pv-card-price strong { font-size: 18px; font-weight: 800; color: var(--pv-ink); }
.pv-card-price del { font-size: 13px; color: #8a8a84; }
.pv-card-pv { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--pv-accent); background: var(--pv-accent-soft); border-radius: 6px; padding: 4px 8px; }

/* 기획전 카드 */
.pv-events { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pv-event-card { border-radius: 24px; background: var(--pv-soft); padding: 40px; min-height: 240px; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.pv-event-card.is-accent { background: var(--pv-accent); color: #ffffff; }
.pv-event-label { font-size: 13px; 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: 30px; line-height: 1.3; font-weight: 800; flex: 1; }
.pv-event-card .pv-btn { align-self: flex-start; }

/* ---------- 상품 상세: 기본 모양 다듬기 ---------- */
#sit_ov_wrap { border-top: 0; padding-top: 24px; }
#sit_title { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.3; color: var(--pv-ink); }
#sit_pvi_big img, #sit_pvi_big a { border-radius: 20px; }
.sit_ov_tbl { color: var(--pv-sub); font-size: 14px; }
.sit_ov_tbl th { color: var(--pv-muted); width: 96px; }
.sit_ov_tbl td strong { font-size: 28px; font-weight: 800; line-height: 1.3; color: var(--pv-ink); }
.sit_info .tr_price { border-bottom: 1px solid var(--pv-line); }
#sit_opt_added { border-radius: 14px; overflow: hidden; }
#sit_tot_price { color: var(--pv-ink); }
#sit_tot_price strong { font-size: 26px; font-weight: 800; }
#sit_ov_btn { display: flex; flex-wrap: wrap; gap: 10px; }
#sit_ov_btn button, #sit_ov_btn .sit_btn_wish { float: none; margin: 0; }
#sit_ov_btn .sit_btn_wish { order: -1; width: 56px; height: 56px; line-height: 56px; border-radius: 28px; border: 1px solid #e0e0db; color: var(--pv-ink); font-size: 20px; box-sizing: border-box; }
#sit_ov_btn .sit_btn_cart, #sit_ov_btn .sit_btn_buy { flex: 1 1 0; width: auto; height: 56px; border-radius: 28px; font-size: 16px; font-weight: 700; }
#sit_ov_btn .sit_btn_cart { background: #ffffff; border: 1px solid var(--pv-ink); color: var(--pv-ink); }
#sit_ov_btn .sit_btn_cart:hover { background: var(--pv-soft); }
#sit_ov_btn .sit_btn_buy { background: var(--pv-ink); border: 1px solid var(--pv-ink); color: #ffffff; }
#sit_ov_btn .sit_btn_buy:hover { background: #2a2a2a; }

/* ---------- 상품 상세: PV ---------- */
.pv-item-pv { margin: 16px 0 0; border-radius: 14px; background: var(--pv-accent-soft); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pv-item-pv-label { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--pv-accent); }
.pv-pv-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--pv-accent); color: #ffffff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.pv-item-pv-value { font-size: 20px; font-weight: 800; color: var(--pv-accent); }
.pv-tot-pv { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0 12px; font-size: 15px; font-weight: 700; color: var(--pv-accent); }
.pv-tot-pv strong { font-size: 20px; font-weight: 800; }

/* ---------- 하단 ---------- */
#ft.pv-ft { background: var(--pv-soft); border-top: 1px solid var(--pv-line); margin-top: 96px; min-width: 1264px; text-align: left; }
.pv-ft-inner { width: 1200px; margin: 0 auto; padding: 48px 0 32px; display: flex; justify-content: space-between; gap: 40px; font-size: 13px; line-height: 1.9; color: var(--pv-sub); }
.pv-ft-brand { display: block; font-size: 18px; color: var(--pv-ink); margin-bottom: 8px; }
.pv-ft-company p { margin: 0; }
.pv-ft-company p span + span::before { content: "·"; margin: 0 8px; color: #b4b4ae; }
.pv-ft-links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.pv-ft-links a { color: var(--pv-sub); text-decoration: none; }
.pv-ft-cs { display: flex; flex-direction: column; gap: 4px; min-width: 200px; }
.pv-ft-cs strong { font-size: 15px; color: var(--pv-ink); }
.pv-ft-tel { font-size: 22px; font-weight: 800; color: var(--pv-ink); }
.pv-ft-copy { width: 1200px; margin: 0 auto; padding: 16px 0 40px; font-size: 12px; color: var(--pv-muted); border-top: 1px solid var(--pv-line); }

/* 화면 편집: 로고 이미지·공지 링크 */
.pv-logo img { display: block; max-height: 40px; width: auto; }
.pv-notice a { color: inherit; text-decoration: none; }
.pv-notice a:hover { text-decoration: underline; }

/* ---------- 메인 한 칸 슬라이드 (홈 관리) ---------- */
.pv-slider { position: relative; overflow: hidden; background: var(--pv-img); isolation: isolate; }
.pv-slider-pc { margin: 24px 0 8px; border-radius: 24px; aspect-ratio: 5 / 2; }
.pv-slider-track { display: flex; height: 100%; will-change: transform; }
.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: 120px 56px 56px; display: flex; flex-direction: column; gap: 10px; 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: 40px; line-height: 1.25; font-weight: 800; letter-spacing: -1px; }
.pv-slide-text span { font-size: 17px; line-height: 1.6; opacity: .92; }
/* 배너별 문구 위치: 기존 데이터는 왼쪽 아래. 자식 버튼도 같은 축으로 정렬한다. */
.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: 56px 56px 100px; background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent); }
.pv-slide-text.pv-text-y-center { top: 0; bottom: 0; padding: 56px; justify-content: center; justify-content: safe center; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.38) 50%, transparent); }
.pv-slider-arrow { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--pv-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.pv-slider-prev { left: 20px; }
.pv-slider-next { right: 20px; }
.pv-slider:hover .pv-slider-arrow, .pv-slider-arrow:focus-visible { opacity: 1; }
.pv-slider-arrow:hover { background: #fff; }
.pv-slider-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.pv-slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .3s, background .3s; }
.pv-slider-dots button.is-on { width: 28px; background: #fff; }
.pv-slider-count { position: absolute; right: 24px; bottom: 18px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.35); color: #fff; font-size: 12px; }
.pv-slider-count b { font-weight: 700; }
/* 이미지가 없을 때 문구 한 칸 */
.pv-hero-one { margin: 24px 0 8px; padding: 72px 64px; border-radius: 24px; background: var(--pv-soft); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pv-hero-one-title { margin: 0; font-size: 48px; line-height: 1.2; font-weight: 800; letter-spacing: -1.5px; color: var(--pv-ink); }
.pv-hero-one-desc { margin: 0; font-size: 17px; line-height: 1.7; color: var(--pv-sub); max-width: 640px; }

/* 상품 상세 배송/교환 탭 (주문관리 > 배송·교환 관리에서 자동 생성) */
.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; }
/* 상품 상세 오른쪽 구매 상자 버튼 (기본 스킨 파랑 → 테마 색) */
#sit_buy .sit_btn_cart { border: 1px solid var(--pv-ink); background: #fff; color: var(--pv-ink); border-radius: 24px; font-weight: 700; }
#sit_buy .sit_btn_buy { border: 1px solid var(--pv-ink); background: var(--pv-ink); color: #fff; border-radius: 24px; font-weight: 700; }
#sit_buy .sit_btn_buy:hover { background: #2a2a2a; }
#sit_tab .tab_tit li .selected:after { background: var(--pv-ink); }

/* 수익링크: 상품 상세 공유 상자 */
.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-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); }

/* ---------- 카테고리·목록 화면: 홈과 같은 모양 ---------- */
#sct_ct_1, .sct_ct { margin: 0 0 18px; padding: 0; border: 0; background: none; }
#sct_ct_1 h2, .sct_ct h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#sct_ct_1 ul, .sct_ct ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; list-style: none; }
#sct_ct_1 li, .sct_ct li { float: none; width: auto; margin: 0; padding: 0; border: 0; background: none; }
#sct_ct_1 li a, .sct_ct li a { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid #e0e0db; border-radius: 21px; background: #fff; color: var(--pv-ink); font-size: 14px; font-weight: 500; text-decoration: none; line-height: 1; }
#sct_ct_1 li a:hover, .sct_ct li a:hover { border-color: var(--pv-ink); }
#sct_sortlst { display: flex; justify-content: flex-end; margin: 0 0 20px; padding: 0 0 14px; 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 14px; margin: 0; padding: 0; list-style: none; }
#sct_sort li { float: none; margin: 0; padding: 0; border: 0; background: none; }
#sct_sort li::before, #sct_sort li::after { display: none; }
#sct_sort li a { color: var(--pv-muted); font-size: 13px; text-decoration: none; }
#sct_sort li a:hover, #sct_sort li a.sort_on, #sct_sort li .sct_sort_on { color: var(--pv-ink); font-weight: 700; }
#sct_sortlst .sct_lst, #sct_sortlst #sct_lst { display: none; } /* 리스트·갤러리 보기 전환 버튼 (카드 한 가지만 사용) */
.sct_wrap .pv-grid, #sct .pv-grid { margin-top: 4px; }
#sct_sort li a { border: 0 !important; padding: 0 !important; }
/* 목록 위 한 줄: 왼쪽 하위 카테고리 버튼, 오른쪽 정렬 링크 (상품 카드 양끝선에 맞춤) */
#sct { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; }
#sct > * { grid-column: 1 / -1; }
#sct > .sct_ct { grid-column: 1; margin: 0; }
#sct > #sct_sortlst { grid-column: 2; justify-self: end; margin: 0; padding: 0; border: 0; }
#sct > #sct_sortlst #sct_sort { width: auto; }
#sct > #sct_sortlst #sct_sort ul { justify-content: flex-end; }
#sct > .pv-grid, #sct > .pv-empty { margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--pv-line); }
#sct > #sct_hhtml:empty, #sct > #sct_thtml:empty { display: none; }
#sct > #sct_sortlst #sct_sort { float: none; width: auto; } #sct > #sct_sortlst #sct_sort ul { flex-wrap: nowrap; white-space: nowrap; width: auto; float: none; }
/* 정렬 링크를 카테고리 버튼과 같은 높이(아래쪽, 구분선 쪽)로 */
#sct { align-items: end; }
#sct > #sct_sortlst { align-self: end; display: flex; align-items: center; height: 42px; }
#sct > #sct_sortlst #sct_sort, #sct > #sct_sortlst #sct_sort ul { display: flex; align-items: center; height: 42px; }
#sct > .sct_ct { align-self: end; }
#sct > #sct_sortlst #sct_sort li { display: flex; align-items: center; height: 42px; }

/* 상단 메뉴: 1차 카테고리 전부 표시, 하위 카테고리는 마우스 올리면 펼침 */
.pv-gnb-item { position: relative; display: flex; align-items: center; height: 52px; }
.pv-gnb-item > a { text-decoration: none; white-space: nowrap; }
.pv-gnb-item.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .5; }
.pv-gnb-sub { position: absolute; top: 46px; right: -14px; z-index: 60; display: none; min-width: 170px; padding: 8px; background: #fff; border: 1px solid var(--pv-line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.08); flex-direction: column; }
.pv-gnb-item.has-sub:hover .pv-gnb-sub, .pv-gnb-item.has-sub:focus-within .pv-gnb-sub { display: flex; }
.pv-gnb-sub a { padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.pv-gnb-sub a:hover { background: var(--pv-soft); color: var(--pv-accent); }
.pv-gnb { gap: 30px; }
/* 지금 보고 있는 하위 카테고리 표시 */
#sct_ct_1 li a.sct_ct_here, .sct_ct li a.sct_ct_here { background: var(--pv-ink); border-color: var(--pv-ink); color: #fff; }

/* ---------- 검색 결과 (shop/search.php) : 목록 화면과 같은 모양 ---------- */
body:has(#ssch) #wrapper_title { display: none; }
#ssch { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; margin: 8px 0 0; }
#ssch > * { grid-column: 1 / -1; }
#ssch > h2 { margin: 0 0 18px; font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
#ssch > h2 strong { color: var(--pv-accent); }
#ssch > h2 .ssch_result_total { margin-left: 10px; font-size: 15px; font-weight: 500; color: var(--pv-muted); }
#ssch_frm { margin: 0 0 22px; padding: 22px; border: 0; border-radius: 16px; background: var(--pv-soft); }
#ssch_frm .ssch_frm_inner { margin: 0; padding: 0; border: 0; background: none; }
#ssch_frm .ssch_scharea { display: flex; gap: 8px; margin: 0; }
#ssch_frm .ssch_scharea .ssch_input { flex: 1 1 auto; width: auto; height: 52px; padding: 0 18px; border: 1px solid #dcdcd6; border-radius: 14px; background: #fff; font-size: 16px; outline: none; }
#ssch_frm .ssch_scharea .ssch_input:focus { border-color: var(--pv-ink); }
#ssch_frm .ssch_scharea .btn_submit { flex: none; width: 110px; height: 52px; margin: 0; border: 0; border-radius: 14px; background: var(--pv-ink); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
#ssch_frm .tooltip_icon, #ssch_frm .tooltip { display: none !important; }
#ssch_frm .ssch_option { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 14px 0 0; padding: 0; border: 0; font-size: 13px; color: var(--pv-sub); }
#ssch_frm .ssch_option input[type=checkbox] { position: static; width: 16px; height: 16px; margin: 0 -10px 0 0; opacity: 1; accent-color: var(--pv-accent); vertical-align: -3px; }
#ssch_frm .ssch_option label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
#ssch_frm .ssch_option label span { display: none; }
#ssch_frm .ssch_option #ssch_qfrom { margin-left: auto; }
#ssch_frm .ssch_option #ssch_qfrom, #ssch_frm .ssch_option #ssch_qto { width: 110px; height: 36px; padding: 0 10px; border: 1px solid #dcdcd6; border-radius: 10px; background: #fff; text-align: right; font-size: 13px; }
#ssch_cate { grid-column: 1; margin: 0; padding: 0; border: 0; background: none; }
#ssch_cate ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
#ssch_cate li { float: none; margin: 0; padding: 0; border: 0; }
#ssch_cate li a { display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 18px; border: 1px solid #e0e0db; border-radius: 21px; background: #fff; color: var(--pv-ink); font-size: 14px; text-decoration: none; }
#ssch_cate li a span { color: var(--pv-muted); }
#ssch_cate li a:hover { border-color: var(--pv-ink); }
#ssch_sort_all { grid-column: 2; justify-self: end; display: flex; align-items: center; gap: 14px; height: 42px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
#ssch_sort_all li { float: none; margin: 0; padding: 0; border: 0; }
#ssch_sort_all li a { border: 0 !important; padding: 0 !important; color: var(--pv-muted); font-size: 13px; text-decoration: none; }
#ssch_sort_all li a:hover { color: var(--pv-ink); }
#ssch + div { margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--pv-line); }
#ssch + div .pv-empty, #ssch + div .sct_noitem { padding: 60px 0; text-align: center; color: var(--pv-muted); }
/* 검색: 회색 상자는 검색칸만, 그 아래 한 줄에 왼쪽 분류 버튼·오른쪽 정렬 */
#ssch_frm { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; padding: 0; background: none; border-radius: 0; }
#ssch_frm > .ssch_frm_inner { grid-column: 1 / -1; margin: 0 0 20px; padding: 22px; border-radius: 16px; background: var(--pv-soft); }
#ssch_frm > #ssch_cate { grid-column: 1; }
#ssch_frm > #ssch_sort_all { grid-column: 2; }
#ssch_frm .ssch_option input[type=checkbox] { position: static !important; display: inline-block !important; width: 16px !important; height: 16px !important; margin: 0 2px 0 0 !important; padding: 0; opacity: 1 !important; clip: auto !important; overflow: visible; visibility: visible !important; -webkit-appearance: checkbox; appearance: auto; accent-color: var(--pv-accent); }
#ssch_frm .ssch_option label { margin-right: 6px; }
/* 검색 범위(상품명·상품설명·기본설명·상품코드): 켜고 끄는 알약 버튼 */
#ssch_frm .ssch_option input[type=checkbox] { position: absolute !important; width: 1px !important; height: 1px !important; margin: 0 !important; opacity: 0 !important; pointer-events: none; }
#ssch_frm .ssch_option label[for^=ssch_q] { display: inline-flex; align-items: center; height: 34px; margin: 0; padding: 0 14px !important; border: 1px solid #dcdcd6; border-radius: 17px; background: #fff; color: var(--pv-muted); font-size: 13px; width: auto !important; }
#ssch_frm .ssch_option label[for^=ssch_q]::before { content: none; }
#ssch_frm .ssch_option input[type=checkbox]:checked + label { border-color: var(--pv-ink); color: var(--pv-ink); font-weight: 700; }
#ssch_frm .ssch_option 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 .ssch_option input[type=checkbox]:focus-visible + label { outline: 2px solid var(--pv-accent); outline-offset: 2px; }
#ssch_frm .ssch_option { gap: 8px; }
#ssch_frm .sound_only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap; }

/* 이용약관·개인정보처리방침 페이지 (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; }
