/* ============================================
   SOROOM · PC 디자인 03 (내추럴: 포레스트 그린 SOROOM · PC 디자인 01 (베이지) — 1200px 고정폭 골드) — 1200px 고정폭
   적응형(분리형) PC 전용 스타일시트
   ============================================ */

:root {
    --bg: #FFFFFF;
    --white: #FFFFFF;
    --black: #1E2B24;
    --gray-50: #F4F6F3;
    --gray-100: #E8ECE7;
    --gray-200: #D6DCD3;
    --gray-300: #BCC4B8;
    --gray-400: #94A08D;
    --gray-500: #6E7A68;
    --gray-600: #505A4B;
    --gray-700: #3A4237;
    --primary: #2E5D4B;
    --accent: #C79A3E;
    --accent-light: #E3C888;
    --danger: #C0492F;
    --sale: #C0492F;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-sm: 6px;
    --wrap: 1200px;
    --transition: 0.18s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Sans KR', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--black);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; cursor: pointer; outline: none; }
ul { list-style: none; }

.pc-container { width: var(--wrap); margin: 0 auto; }

/* ---------- 상단 유틸바 ---------- */
.pc-topbar { border-bottom: 1px solid var(--gray-100); background: var(--white); }
.pc-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.pc-topbar a { font-size: 12px; color: var(--gray-500); margin-right: 16px; transition: color var(--transition); }
.pc-topbar-right a { margin-right: 0; margin-left: 16px; }
.pc-topbar a:hover { color: var(--primary); }
.pc-topbar b { color: var(--accent); }
.pc-to-mobile { padding: 3px 10px; border: 1px solid var(--gray-200); border-radius: 999px; }

/* ---------- 로고 + 검색 ---------- */
.pc-head { display: flex; align-items: center; justify-content: space-between; padding: 30px 0; }
.pc-logo { display: flex; align-items: center; gap: 10px; }
.pc-logo img { height: 40px; width: auto; }
.pc-logo span { font-size: 30px; font-weight: 700; letter-spacing: 3px; color: var(--primary); }
.pc-search { display: flex; align-items: center; width: 380px; height: 46px; border: 2px solid var(--primary); border-radius: 999px; overflow: hidden; padding-left: 18px; }
.pc-search input { flex: 1; border: none; outline: none; font-size: 14px; background: transparent; }
.pc-search button { width: 52px; height: 100%; display: flex; align-items: center; justify-content: center; background: transparent; color: var(--primary); }

/* ---------- GNB ---------- */
.pc-gnb { border-top: 2px solid var(--primary); border-bottom: 1px solid var(--gray-200); background: var(--white); }
.pc-gnb-inner { display: flex; align-items: center; gap: 4px; height: 52px; }
.pc-gnb-inner a { padding: 0 20px; height: 100%; display: flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--gray-700); border-bottom: 3px solid transparent; transition: color var(--transition); }
.pc-gnb-inner a:hover { color: var(--accent); }
.pc-gnb-inner a.on { color: var(--accent); font-weight: 700; border-bottom-color: var(--accent); }

/* ---------- 레이아웃 (사이드바 + 콘텐츠) ---------- */
.pc-layout { display: grid; grid-template-columns: 200px 1fr; gap: 30px; padding: 30px 0 70px; align-items: start; }
.pc-content { min-width: 0; }

/* 좌측 카테고리 사이드바 */
.pc-sidebar { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.pc-sidebar-title { background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 2px; padding: 15px 18px; }
.pc-cat-list li a { display: block; padding: 12px 18px; font-size: 14px; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); transition: all var(--transition); }
.pc-cat-list li:last-child a { border-bottom: none; }
.pc-cat-list li a:hover { background: var(--gray-50); color: var(--accent); padding-left: 22px; }
.pc-cat-list li a.on { color: var(--accent); font-weight: 700; }
.pc-sidebar-cs { border-top: 4px solid var(--gray-100); padding: 16px 18px; text-align: center; }
.pc-sidebar-cs .cs-label { font-size: 12px; color: var(--gray-500); }
.pc-sidebar-cs .cs-phone { font-size: 20px; font-weight: 800; color: var(--primary); margin: 4px 0; }
.pc-sidebar-cs .cs-line { font-size: 11px; color: var(--gray-500); line-height: 1.6; }

/* ---------- 메인 배너 ---------- */
.pc-banner { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.pc-banner-track { display: flex; transition: transform 0.5s ease; }
.pc-banner-slide { min-width: 100%; }
.pc-banner-slide img { width: 100%; height: 420px; object-fit: cover; }
.pc-banner-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.pc-banner-dots .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.55); cursor: pointer; transition: all var(--transition); }
.pc-banner-dots .dot.active { background: #fff; width: 24px; border-radius: 5px; }
.pc-hero { position: relative; border-radius: var(--radius); overflow: hidden; }
.pc-hero img { width: 100%; height: 420px; object-fit: cover; }
.pc-hero-text { position: absolute; left: 48px; top: 50%; transform: translateY(-50%); color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.pc-hero-text .sub { font-size: 15px; letter-spacing: 3px; margin-bottom: 10px; }
.pc-hero-text h2 { font-size: 38px; font-weight: 800; line-height: 1.3; }

/* ---------- 섹션 + 상품 그리드 ---------- */
.pc-section { margin-top: 46px; }
.pc-section-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 16px; margin-bottom: 22px; border-bottom: 2px solid var(--primary); }
.pc-section-head h2 { font-size: 22px; font-weight: 800; letter-spacing: 1px; color: var(--primary); }
.pc-section-head .more { font-size: 13px; color: var(--gray-500); }
.pc-section-head .more:hover { color: var(--accent); }

.pc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pc-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.pc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pc-card-thumb { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--gray-50); }
.pc-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.pc-card:hover .pc-card-thumb img { transform: scale(1.05); }
.pc-card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; }
.pc-card-badges .badge { font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 4px; color: #fff; }
.badge.best { background: var(--primary); }
.badge.new { background: var(--accent); }
.badge.sale { background: var(--sale); }
.pc-card-info { padding: 14px 14px 16px; }
.pc-card-name { display: block; font-size: 14px; color: var(--gray-700); line-height: 1.5; height: 42px; overflow: hidden; margin-bottom: 8px; }
.pc-card-name:hover { color: var(--accent); }
.pc-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.pc-card-price .rate { font-size: 16px; font-weight: 800; color: var(--sale); }
.pc-card-price .now { font-size: 16px; font-weight: 800; color: var(--primary); }
.pc-card-price .was { font-size: 12px; color: var(--gray-400); text-decoration: line-through; }
.pc-card-cart { width: 100%; margin-top: 12px; height: 38px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--gray-700); transition: all var(--transition); }
.pc-card-cart:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- 페이지 공용 (카테고리/검색 등에서 재사용 예정) ---------- */
.pc-page-title { padding: 4px 0 22px; border-bottom: 2px solid var(--primary); margin-bottom: 26px; }
.pc-page-title h2 { font-size: 24px; font-weight: 800; color: var(--primary); }
.pc-page-title p { font-size: 13px; color: var(--gray-500); margin-top: 6px; }
.pc-empty { text-align: center; padding: 80px 0; color: var(--gray-400); }
.pc-empty svg { color: var(--gray-300); margin-bottom: 14px; }

/* ---------- 푸터 ---------- */
.pc-footer { margin-top: 40px; background: var(--primary); color: var(--gray-300); }
.pc-footer-inner { padding: 36px 0 44px; }
.pc-footer-brand { font-size: 20px; font-weight: 700; letter-spacing: 3px; color: #fff; margin-bottom: 16px; }
.pc-footer-info { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pc-footer-item { font-size: 12.5px; color: var(--gray-300); }
.pc-footer-item em { font-style: normal; color: var(--gray-400); margin-right: 8px; }
.pc-footer-copy { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; color: var(--gray-400); }

/* ---------- 토스트 ---------- */
.toast { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%) translateY(20px); background: rgba(26,26,26,0.92); color: #fff; padding: 12px 24px; border-radius: 999px; font-size: 14px; opacity: 0; transition: all 0.3s ease; z-index: 500; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 상품 상세 ---------- */
.pc-crumb { font-size: 12px; color: var(--gray-500); margin-bottom: 20px; }
.pc-crumb a:hover { color: var(--accent); }
.pc-crumb span { color: var(--gray-700); }

.pc-detail { display: grid; grid-template-columns: 440px 1fr; gap: 40px; align-items: start; }
.pc-detail-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--gray-100); background: var(--gray-50); }
.pc-detail-buy { padding-top: 6px; }
.pc-detail-cat { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.pc-detail-name { font-size: 26px; font-weight: 700; color: var(--primary); line-height: 1.4; margin-bottom: 20px; }
.pc-detail-price { margin-bottom: 20px; }
.pc-detail-price .orig { font-size: 15px; color: var(--gray-400); text-decoration: line-through; margin-bottom: 4px; }
.pc-detail-price .now-line { display: flex; align-items: baseline; gap: 10px; }
.pc-detail-price .rate { font-size: 26px; font-weight: 800; color: var(--sale); }
.pc-detail-price .final { font-size: 28px; font-weight: 800; color: var(--primary); }
.pc-detail-divider { height: 1px; background: var(--gray-200); margin: 22px 0; }
.pc-detail-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pc-detail-row .lbl { font-size: 14px; color: var(--gray-600); }
.pc-qty { display: flex; align-items: center; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); overflow: hidden; }
.pc-qty button { width: 38px; height: 38px; background: var(--gray-50); font-size: 18px; color: var(--gray-600); }
.pc-qty button:hover { background: var(--gray-100); }
.pc-qty button:disabled { opacity: 0.4; cursor: default; }
.pc-qty input { width: 54px; height: 38px; text-align: center; border: none; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); font-size: 15px; font-weight: 600; -moz-appearance: textfield; }
.pc-qty input::-webkit-outer-spin-button, .pc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pc-detail-total { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--gray-200); margin-top: 4px; }
.pc-detail-total .lbl { font-size: 15px; color: var(--gray-700); font-weight: 600; }
.pc-detail-total .amt { font-size: 15px; color: var(--gray-500); }
.pc-detail-total .amt #pcTotal { font-size: 26px; font-weight: 800; color: var(--sale); }
.pc-detail-stock { font-size: 12px; color: var(--gray-400); margin-bottom: 18px; }
.pc-detail-stock .out { color: var(--danger); font-weight: 600; }
.pc-detail-actions { display: flex; gap: 12px; }
.pc-btn { flex: 1; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 16px; font-weight: 700; transition: all var(--transition); }
.pc-btn-cart { background: var(--white); color: var(--primary); border: 1.5px solid var(--primary); }
.pc-btn-cart:hover { background: var(--gray-50); }
.pc-btn-buy { background: var(--primary); color: #fff; }
.pc-btn-buy:hover { background: #244A3C; }
.pc-btn-buy:disabled { opacity: 0.5; cursor: default; }

.pc-detail-desc { margin-top: 60px; }
.pc-detail-desc-tab { text-align: center; font-size: 16px; font-weight: 700; color: var(--primary); padding: 16px 0; border-top: 2px solid var(--primary); border-bottom: 1px solid var(--gray-200); margin-bottom: 30px; }
.pc-detail-desc p { font-size: 14px; color: var(--gray-700); line-height: 1.9; white-space: pre-line; margin-bottom: 20px; }
.pc-detail-desc img { width: 100%; max-width: 760px; margin: 0 auto 10px; border-radius: var(--radius-sm); }

/* ---------- 장바구니 ---------- */
.pc-cart { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.pc-cart-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.pc-cart-table thead th { background: var(--gray-50); font-size: 13px; font-weight: 600; color: var(--gray-600); padding: 14px 12px; border-bottom: 1px solid var(--gray-200); }
.pc-cart-table thead th.th-prod { text-align: left; }
.pc-cart-table td { padding: 16px 12px; border-bottom: 1px solid var(--gray-100); text-align: center; font-size: 14px; vertical-align: middle; }
.pc-cart-table tbody tr:last-child td, .pc-cart-table tbody tr:last-child td { border-bottom: none; }
.col-prod { text-align: left; }
.cart-prod { display: flex; align-items: center; gap: 14px; }
.cart-prod-thumb { flex-shrink: 0; }
.cart-prod-thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--gray-100); }
.cart-prod-name { font-size: 14px; color: var(--gray-700); line-height: 1.5; }
.cart-prod-name:hover { color: var(--accent); }
.col-price { color: var(--gray-500); }
.col-qty .pc-qty { display: inline-flex; }
.col-sum { font-weight: 800; color: var(--primary); }
.col-del button { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gray-200); border-radius: 50%; color: var(--gray-400); background: var(--white); transition: all var(--transition); }
.col-del button:hover { border-color: var(--danger); color: var(--danger); }

.pc-cart-side { position: sticky; top: 20px; }
.pc-cart-summary { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; }
.pc-cart-summary h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-100); }
.pc-cart-summary .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--gray-600); margin-bottom: 10px; }
.pc-cart-summary .row.total { border-top: 1px solid var(--gray-200); padding-top: 15px; margin-top: 15px; font-size: 15px; font-weight: 700; color: var(--primary); }
.pc-cart-summary .row.total span:last-child { font-size: 22px; font-weight: 800; color: var(--sale); }
.pc-cart-summary .pc-btn { width: 100%; margin-top: 18px; }
.pc-cart-summary .note { text-align: center; font-size: 11px; color: var(--gray-400); margin-top: 12px; }

/* ---------- 로그인 / 회원가입 ---------- */
.pc-auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 20px; }
.pc-auth-logo { text-align: center; margin-bottom: 26px; }
.pc-auth-logo span { display: block; font-size: 34px; font-weight: 800; letter-spacing: 4px; color: var(--primary); }
.pc-auth-logo small { font-size: 13px; color: var(--gray-500); }
.pc-auth-card { width: 420px; max-width: 100%; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 40px 38px; box-shadow: var(--shadow-md); }
.pc-auth-card h1 { font-size: 22px; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 26px; }
.pc-auth-alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 18px; line-height: 1.5; }
.pc-auth-alert.err { background: #FDECEC; border: 1px solid #F5C6C6; color: var(--danger); }
.pc-auth-alert.ok { background: #E8F5E9; border: 1px solid #C8E6C9; color: #2E7D32; }
.pc-auth-alert.ok a { font-weight: 700; color: #2E7D32; }
.pc-auth-field { margin-bottom: 16px; }
.pc-auth-field label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 7px; }
.pc-auth-field label small { color: var(--gray-400); font-weight: 400; }
.pc-auth-input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; transition: border var(--transition); }
.pc-auth-input:focus { border-color: var(--accent); outline: none; }
.pc-auth-btn { width: 100%; height: 50px; margin-top: 8px; background: var(--primary); color: #fff; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; transition: background var(--transition); }
.pc-auth-btn:hover { background: #244A3C; }
.pc-auth-link { text-align: center; font-size: 13px; color: var(--gray-500); margin-top: 22px; }
.pc-auth-link a { color: var(--accent); font-weight: 600; }
.pc-auth-tomobile { margin-top: 24px; font-size: 12px; color: var(--gray-400); text-decoration: underline; }

/* ============================================
   공통 컴포넌트 (주문/결제 폼·팝업에서 사용)
   ============================================ */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
.form-input { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; color: var(--black); background: var(--white); transition: border-color var(--transition); }
.form-input:focus { border-color: var(--accent); outline: none; }
.form-input::placeholder { color: var(--gray-300); }
.form-input[readonly] { background: var(--gray-50); }
.mb-8 { margin-bottom: 8px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; }
.alert-error { background: #FFF0F0; color: var(--danger); border: 1px solid #FFD6D6; }
.alert-success { background: #F0FFF4; color: #2E7D32; border: 1px solid #C6F6D5; }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer; transition: all var(--transition); height: 46px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #244A3C; }
.btn-outline { background: var(--white); color: var(--primary); border: 1.5px solid var(--primary); padding: 0 20px; }
.btn-outline:hover { background: var(--gray-50); }
.btn-block { width: 100%; }
.btn-sm { height: 40px; font-size: 13px; }

.addr-search-wrap { display: flex; gap: 8px; margin-bottom: 8px; }
.addr-search-wrap .form-input { flex: 1; }
.btn-addr { flex-shrink: 0; padding: 0 16px; height: 46px; background: var(--primary); color: #fff; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; cursor: pointer; }

/* 결제수단 카드 */
.pay-method-card { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition); font-size: 14px; font-weight: 500; color: var(--gray-500); text-align: center; }
.pay-method-card:hover { border-color: var(--gray-300); }
.pay-method-card.selected { border-color: var(--primary); background: #EEF3EC; color: var(--primary); }
.pay-method-card.selected svg { color: var(--accent); }

/* 배송지 관리 팝업 (PC: 화면 중앙 모달) */
.layer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 400; display: none; align-items: center; justify-content: center; }
.layer-overlay.open { display: flex; }
.layer-popup { width: 520px; max-width: 92vw; max-height: 84vh; background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg, 0 12px 40px rgba(0,0,0,0.2)); }
.layer-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 15px; border-bottom: 1px solid var(--gray-100); flex-shrink: 0; }
.layer-header h3 { font-size: 17px; font-weight: 700; color: var(--primary); }
.layer-close { background: none; color: var(--gray-400); cursor: pointer; padding: 4px; }
.layer-close:hover { color: var(--primary); }
.layer-body { overflow-y: auto; flex: 1; }
.layer-footer { padding: 14px 20px; border-top: 1px solid var(--gray-100); flex-shrink: 0; }
.layer-footer .btn { width: 100%; }
.layer-footer .btn + .btn { margin-top: 8px; }

.addr-card { padding: 16px 20px; border-bottom: 1px solid var(--gray-50); cursor: pointer; transition: background var(--transition); position: relative; }
.addr-card:hover { background: var(--gray-50); }
.addr-card.selected { background: #E7EFE8; }
.addr-card .addr-label-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.addr-card .addr-tag { font-size: 13px; font-weight: 700; color: var(--primary); }
.addr-card .addr-default-badge { font-size: 10px; font-weight: 600; color: var(--accent); background: #E7EFE8; padding: 2px 8px; border-radius: 10px; }
.addr-card .addr-name-phone { font-size: 13px; color: var(--gray-600); margin-bottom: 4px; }
.addr-card .addr-text { font-size: 12px; color: var(--gray-400); line-height: 1.5; }
.addr-card .addr-actions { position: absolute; top: 16px; right: 20px; display: flex; gap: 10px; }
.addr-card .addr-actions button { background: none; font-size: 12px; color: var(--gray-400); cursor: pointer; padding: 2px 4px; }
.addr-card .addr-actions button:hover { color: var(--primary); }
.addr-form { padding: 18px 20px; }
.addr-form .form-group { margin-bottom: 12px; }
.addr-empty { text-align: center; padding: 48px 16px; color: var(--gray-400); font-size: 14px; }

/* ---------- PC 주문/결제 레이아웃 ---------- */
.pc-checkout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.pc-co-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.pc-co-title { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 18px; }
.pc-co-title span { font-size: 13px; font-weight: 500; color: var(--gray-400); margin-left: 4px; }
.pc-co-box-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pc-co-box-head .pc-co-title { margin-bottom: 0; }
.pc-co-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--gray-50); }
.pc-co-item:last-child { border-bottom: none; padding-bottom: 0; }
.pc-co-item img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--gray-100); }
.pc-co-item-info { flex: 1; }
.pc-co-item-info .nm { font-size: 14px; color: var(--gray-700); margin-bottom: 4px; }
.pc-co-item-info .dt { font-size: 12px; color: var(--gray-400); }
.pc-co-item-sum { font-size: 15px; font-weight: 700; color: var(--primary); }

.pc-co-side { position: sticky; top: 20px; }
.pc-co-summary { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; }
.pc-co-summary h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-100); }
.pc-co-summary .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--gray-600); margin-bottom: 12px; }
.pc-co-summary .row.total { border-top: 1px solid var(--gray-200); padding-top: 16px; margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--primary); }
.pc-co-summary .row.total span:last-child { font-size: 24px; font-weight: 800; color: var(--sale); }
.pc-co-summary .pc-btn { width: 100%; margin-top: 20px; }
.pc-co-summary .note { text-align: center; font-size: 11px; color: var(--gray-400); margin-top: 12px; line-height: 1.5; }

/* ---------- 결제 (카드/PASS/무통장) ---------- */
.pc-pay { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.btn-accent { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; cursor: pointer; transition: background var(--transition); }
.btn-accent:hover { background: #A87E2C; }

.pass-auth-section { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 22px 24px; }
.pass-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pass-status { font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 12px; }
.pass-status.verified { background: #E8F5E9; color: #4CAF50; }
.pass-status.unverified { background: #FFF3E0; color: #E67E22; }
.pass-guide { font-size: 13px; color: var(--gray-500); line-height: 1.7; text-align: center; padding: 10px 0 18px; }
.pass-info-grid { display: flex; flex-direction: column; gap: 10px; background: var(--gray-50); border-radius: var(--radius-sm); padding: 16px 18px; }
.pass-info-item { display: flex; align-items: center; font-size: 14px; }
.pass-label { color: var(--gray-400); min-width: 80px; flex-shrink: 0; }
.pass-value { color: var(--primary); font-weight: 600; }

.card-form-locked { position: relative; opacity: 0.45; pointer-events: none; user-select: none; }
.card-form-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gray-500); font-size: 14px; font-weight: 500; }
.pc-pay-note { font-size: 11px; color: var(--gray-400); line-height: 1.7; margin-top: 12px; }

/* 무통장입금 */
.pc-bank { max-width: 560px; margin: 0 auto; }
.pc-bank-hero { text-align: center; padding: 20px 0 34px; }
.pc-bank-check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.pc-bank-hero h2 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.pc-bank-hero p { font-size: 14px; color: var(--gray-400); }
.pc-bank-account { text-align: center; }
.pc-bank-account-label { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.pc-bank-account-box { background: var(--gray-50); border-radius: var(--radius-sm); padding: 22px; margin-bottom: 14px; }
.pc-bank-account-box .bank-nm { font-size: 13px; color: var(--gray-400); margin-bottom: 5px; }
.pc-bank-account-box .bank-no { font-size: 24px; font-weight: 800; color: var(--primary); letter-spacing: 1px; margin-bottom: 5px; }
.pc-bank-account-box .bank-holder { font-size: 13px; color: var(--gray-500); }
.pc-bank-amount { font-size: 22px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.pc-bank-guide { font-size: 12px; color: var(--gray-400); line-height: 1.7; }
.pc-bank-actions { display: flex; gap: 12px; margin-top: 24px; }
.pc-bank-actions .btn { flex: 1; height: 50px; font-size: 15px; }

/* 주문완료 */
.pc-complete-check { background: #5A9E6F !important; }
.pc-info-row { display: flex; font-size: 14px; color: var(--gray-700); padding: 6px 0; line-height: 1.6; }
.pc-info-row .lbl { color: var(--gray-400); min-width: 80px; flex-shrink: 0; }
.pc-complete-total { display: flex; align-items: center; justify-content: space-between; }
.pc-complete-total span:first-child { font-size: 15px; font-weight: 600; color: var(--gray-700); }
.pc-complete-total span:last-child { font-size: 24px; font-weight: 800; color: var(--sale); }

/* ---------- 마이페이지 ---------- */
.pc-my-top { display: grid; grid-template-columns: 340px 1fr; gap: 20px; margin-bottom: 20px; }
.pc-my-profile { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; display: flex; align-items: center; gap: 18px; }
.pc-my-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; flex-shrink: 0; }
.pc-my-profile .nm { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.pc-my-profile .em { font-size: 13px; color: var(--gray-500); }
.pc-my-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); }
.pc-my-stats .stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; border-right: 1px solid var(--gray-100); }
.pc-my-stats .stat:last-child { border-right: none; }
.pc-my-stats .stat b { font-size: 28px; font-weight: 800; color: var(--accent); }
.pc-my-stats .stat span { font-size: 12px; color: var(--gray-500); }
.pc-my-menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 22px; }
.pc-my-menu-item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 15px; font-weight: 600; color: var(--gray-700); transition: all var(--transition); }
.pc-my-menu-item svg { color: var(--gray-400); transition: color var(--transition); }
.pc-my-menu-item:hover { border-color: var(--accent); color: var(--accent); }
.pc-my-menu-item:hover svg { color: var(--accent); }
.pc-my-menu-item.danger { color: var(--danger); }
.pc-my-menu-item.danger svg { color: var(--danger); }
.pc-my-menu-item.danger:hover { border-color: var(--danger); }
.pc-my-logout { text-align: center; }
.pc-my-logout .btn { padding: 0 44px; height: 46px; }

/* ---------- 주문내역 ---------- */
.pc-orders { display: flex; flex-direction: column; gap: 16px; }
.pc-order-card { display: block; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px 24px; transition: all var(--transition); }
.pc-order-card:hover { border-color: var(--gray-300); box-shadow: var(--shadow-sm); }
.pc-order-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); margin-bottom: 16px; }
.pc-order-head .onum { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.pc-order-head .odate { font-size: 12px; color: var(--gray-400); }
.pc-order-status { font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.pc-order-status.s-pending { background: #FFF3E0; color: #E67E22; }
.pc-order-status.s-paid { background: #E7EFE8; color: var(--accent); }
.pc-order-status.s-shipping, .pc-order-status.s-direct_shipping { background: #E3F2FD; color: #1976D2; }
.pc-order-status.s-delivered, .pc-order-status.s-direct_delivered { background: #E8F5E9; color: #388E3C; }
.pc-order-status.s-cancelled { background: var(--gray-100); color: var(--gray-500); }
.pc-order-body { display: flex; align-items: center; gap: 16px; }
.pc-order-thumb { width: 60px; height: 60px; border-radius: var(--radius-sm); overflow: hidden; background: var(--gray-50); border: 1px solid var(--gray-100); flex-shrink: 0; }
.pc-order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pc-order-item { flex: 1; }
.pc-order-item .nm { font-size: 14px; color: var(--gray-700); margin-bottom: 4px; }
.pc-order-item .nm .more { color: var(--gray-400); }
.pc-order-item .dt { font-size: 12px; color: var(--gray-400); }
.pc-order-amt { text-align: right; }
.pc-order-amt .amt { font-size: 17px; font-weight: 800; color: var(--primary); }
.pc-order-amt .more-link { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.pc-order-delivery { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--gray-200); display: flex; align-items: center; gap: 10px; }
.pc-order-delivery .dtag { font-size: 12px; font-weight: 600; color: var(--primary); background: var(--gray-50); padding: 4px 12px; border-radius: 6px; }
.pc-order-delivery .track { font-size: 12px; color: var(--gray-500); }

/* ---------- 주문상세 ---------- */
.pc-od-notice { display: flex; align-items: flex-start; gap: 8px; background: #FFF8E1; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 12.5px; color: #F57F17; line-height: 1.6; margin-bottom: 20px; }
.pc-od-notice svg { flex-shrink: 0; margin-top: 2px; }
.pc-od-status { text-align: center; margin-bottom: 16px; }
.pc-od-meta { text-align: center; margin-bottom: 4px; }
.pc-od-meta .onum { font-size: 14px; color: var(--gray-600); margin-bottom: 6px; }
.pc-od-meta .onum b { color: var(--primary); }
.pc-od-meta .sub { font-size: 12px; color: var(--gray-400); line-height: 1.7; }
.pc-od-divider { height: 1px; background: var(--gray-100); margin: 18px 0; }
.btn-danger { background: var(--white); color: var(--danger); border: 1.5px solid var(--danger); }
.btn-danger:hover { background: #FDECEC; }

/* ---------- 좁은 폼 (회원정보수정/탈퇴) ---------- */
.pc-form-narrow { max-width: 620px; margin: 0 auto; }
.pc-form-narrow .pc-co-box { margin-bottom: 16px; }
.pc-delete { text-align: center; padding-top: 10px; }
.pc-del-icon { width: 66px; height: 66px; border-radius: 50%; background: #FDECEC; color: var(--danger); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.pc-del-title { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.pc-del-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; }
