/* 2026-11-03: 간편 주문 화면 (shop/v2/order_lite.php) — 피그마 와이어프레임 4:2 · 14:6470 기준. 모달은 order_namecard1_new.css(nf-modal-*) 그대로 */
/* 창 두 개를 감싸는 #nf-order 틀 — v2 화면의 여백·폭 규칙을 지워 자리를 차지하지 않게 한다 (창은 position:fixed) */
#nf-order.ol-nf-modals { max-width:none; margin:0; padding:0; }
#ol-page { --ol-ink:#1a1d23; --ol-mut:#6b7280; --ol-line:#d9dde3; --ol-bg:#f6f7f9; --ol-blue:#1a1d23; --ol-soft:#f2f3f5;   /* 2026-11-04: 강조색 파랑(#5983f0·#eef3ff) → 검정 계열. 이름(--ol-blue)은 그대로 두고 값만 바꿈 */ --ol-pink:#d6336c; --ol-pinksoft:#fbe4ec; --ol-dark:#2b3039;
	width:1200px; margin:0 auto; padding:16px 0 80px; color:var(--ol-ink); box-sizing:border-box; }
#ol-page *, #ol-page *::before, #ol-page *::after { box-sizing:border-box; }
.ol-crumb { font-size:12px; color:var(--ol-mut); margin:0 0 16px; }
.ol-wrap { display:flex; gap:48px; align-items:flex-start; }

/* 왼쪽 */
.ol-media { width:560px; flex:none; position:sticky; top:20px; }
.ol-main-img { width:560px; height:560px; border-radius:12px; overflow:hidden; background:var(--ol-bg); display:flex; align-items:center; justify-content:center; }
.ol-main-img img { max-width:100%; max-height:100%; object-fit:contain; }
.ol-thumbs { display:flex; gap:10px; margin-top:12px; }
.ol-thumb { width:80px; height:80px; padding:0; border:1px solid var(--ol-line); border-radius:8px; background:#fff; overflow:hidden; cursor:pointer; }
.ol-thumb img { width:100%; height:100%; object-fit:cover; }
.ol-thumb.is-on { border:2px solid var(--ol-blue); }
.ol-note { margin:16px 0 0; padding:12px 14px; background:var(--ol-bg); border-radius:8px; font-size:13px; line-height:1.6; color:var(--ol-mut); }

/* 오른쪽 */
.ol-panel { flex:1; min-width:0; display:flex; flex-direction:column; gap:22px; }
.ol-title { display:flex; align-items:center; gap:10px; }
.ol-title h1 { margin:0; font-size:28px; font-weight:700; letter-spacing:-0.5px; }
.ol-pill { font-size:12px; font-weight:700; color:var(--ol-blue); background:var(--ol-soft); padding:3px 10px; border-radius:20px; }
.ol-sub { margin:-14px 0 0; font-size:14px; color:var(--ol-mut); line-height:1.6; }
.ol-fixed { display:flex; gap:8px; padding:11px 14px; background:var(--ol-bg); border-radius:8px; font-size:13px; line-height:1.5; }
.ol-fixed b { color:var(--ol-mut); flex:none; }

.ol-group { display:flex; flex-direction:column; gap:10px; }
.ol-label { display:flex; align-items:baseline; gap:8px; }
.ol-label b { font-size:15px; }
.ol-label span { font-size:12px; color:var(--ol-mut); }
.ol-opts { display:flex; flex-wrap:wrap; gap:8px; }
.ol-opts-card .ol-opt { flex:1 1 calc((100% - (var(--ol-n) - 1) * 8px) / var(--ol-n)); min-width:120px; }
.ol-opt { display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding:12px; border:1px solid var(--ol-line); border-radius:8px; background:#fff; color:var(--ol-ink); text-align:left; cursor:pointer; font:inherit; text-decoration:none; }
.ol-opt:hover { border-color:#aab4c3; }
.ol-opt:focus-visible { outline:2px solid var(--ol-blue); outline-offset:2px; }
.ol-opt.is-on { border:2px solid var(--ol-blue); background:var(--ol-soft); padding:11px; }
.ol-opt-t { font-size:14px; font-weight:700; }
.ol-opt.is-on .ol-opt-t { color:var(--ol-blue); }
.ol-opt-d { font-size:12px; color:var(--ol-mut); line-height:1.5; }
.ol-badge { font-size:11px; font-weight:700; color:var(--ol-pink); background:var(--ol-pinksoft); padding:1px 8px; border-radius:10px; }
.ol-opts-chip .ol-opt { flex-direction:row; align-items:center; padding:9px 16px; border-radius:20px; }
.ol-opts-chip .ol-opt.is-on { padding:8px 15px; }

.ol-size-input { display:flex; align-items:center; gap:10px; font-size:14px; color:var(--ol-mut); }
.ol-size-input input { width:90px; height:40px; margin:0 4px; padding:0 10px; border:2px solid var(--ol-blue); border-radius:8px; font-size:15px; font-weight:700; color:var(--ol-ink); }
.ol-size-apply { height:40px; padding:0 16px; border:1px solid var(--ol-dark); border-radius:8px; background:#fff; font-weight:700; cursor:pointer; }
.ol-mini { margin:0; font-size:12px; color:var(--ol-mut); }

.ol-file-btn { width:100%; height:48px; border:1px dashed #9aa3b0; border-radius:8px; background:var(--ol-bg); font-size:14px; font-weight:700; cursor:pointer; }
.ol-file-row { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--ol-line); border-radius:8px; font-size:13px; }
.ol-file-row img { width:28px; height:28px; }
.ol-file-row span { flex:1; min-width:0; overflow-wrap:anywhere; }
.ol-file-del { border:0; background:none; color:var(--ol-mut); text-decoration:underline; cursor:pointer; }

.ol-sum { display:flex; flex-direction:column; gap:8px; padding:16px 18px; border:1px solid var(--ol-line); border-radius:10px; }
.ol-sum-spec, .ol-sum-sub { margin:0; font-size:12.5px; color:var(--ol-mut); line-height:1.6; }
.ol-sum-row { display:flex; align-items:center; justify-content:space-between; }
.ol-sum-row b { font-size:15px; }
.ol-price { font-size:24px; font-weight:700; color:var(--ol-blue); font-variant-numeric:tabular-nums; }
.ol-price.is-wait { font-size:16px; color:var(--ol-mut); }
.ol-price.is-err { font-size:14px; color:#c0392b; }

.ol-btns { display:flex; gap:8px; }
.ol-btn { flex:1; height:52px; border:1px solid var(--ol-dark); border-radius:8px; background:#fff; color:var(--ol-dark); font-size:15px; font-weight:700; cursor:pointer; }
.ol-btn-main { background:var(--ol-dark); color:#fff; }
.ol-editor { align-self:flex-start; font-size:14px; font-weight:700; color:var(--ol-blue); text-decoration:none; }
.ol-detail { margin:-8px 0 0; font-size:13px; color:var(--ol-mut); }
.ol-detail a { color:var(--ol-blue); font-weight:700; }

/* 아래쪽 탭(shop/order_info_tabs.inc.php) — v2는 984px 폭이라 이 화면 폭(1200)에 맞춤 */
#ol-page #nf-info { width:100%; margin-top:120px; }	/* 2026-11-05: 80→120 (세부 옵션 직접 고르기와 아래 탭 사이 1.5배) */

/* 상품소개 대체 내용 (shop/v2/order_lite_intro/*.php) */
.ol-intro { max-width:900px; margin:0 auto; color:var(--ol-ink); }
.ol-intro-h { margin:0 0 10px; font-size:26px; font-weight:700; }
.ol-intro-lead { margin:0 0 36px; font-size:16px; line-height:1.7; color:#4b5563; }
.ol-intro-t { margin:44px 0 14px; padding-bottom:10px; border-bottom:2px solid var(--ol-ink); font-size:18px; font-weight:700; }
.ol-intro-p { margin:0 0 14px; font-size:15px; line-height:1.7; color:#374151; }
.ol-intro-shapes { display:flex; gap:20px; }
.ol-intro-shape { flex:1; min-width:0; padding:20px; border:1px solid var(--ol-line); border-radius:12px; background:#fff; }
.ol-intro-shape.is-on { border:2px solid var(--ol-blue); background:var(--ol-soft); padding:19px; }
.ol-intro-shape svg { display:block; width:100%; max-width:260px; height:auto; margin:0 auto 14px; }
.ol-intro-shape b { display:block; margin-bottom:6px; font-size:16px; }
.ol-intro-shape p { margin:0; font-size:14px; line-height:1.7; color:#4b5563; }
.ol-intro-table { width:100%; border-collapse:collapse; font-size:14px; }
.ol-intro-table th, .ol-intro-table td { padding:11px 12px; border-bottom:1px solid #e5e7eb; text-align:left; }
.ol-intro-table th { background:var(--ol-bg); font-weight:700; color:#4b5563; font-size:13px; }
.ol-intro-table td:first-child { font-weight:700; }
.ol-intro-note { margin:8px 0 0; font-size:12.5px; color:var(--ol-mut); }
.ol-intro-list { margin:12px 0 0; padding-left:20px; }
.ol-intro-list li { margin:0 0 8px; font-size:14.5px; line-height:1.7; color:#374151; list-style:disc; }

/* 2026-11-04: 크기 (i) 안내 — 크기별 재단·편집·안전 사이즈 (order_lite.php #ol-sz-pop, order_lite.js szInfo) */
.ol-group[data-group="size"] { position:relative; }
.ol-sz-info { margin-left:auto; flex:none; width:22px; height:22px; padding:0; border:1.5px solid #9aa3b0; border-radius:50%; background:#fff; color:#4b5563; font:700 12px/1 Georgia, serif; font-style:italic; cursor:pointer; }
.ol-sz-info:hover, .ol-sz-info[aria-expanded="true"] { border-color:var(--ol-ink); background:var(--ol-ink); color:#fff; }
.ol-sz-info:focus-visible { outline:2px solid var(--ol-ink); outline-offset:2px; }
.ol-sz-pop { position:absolute; right:0; top:30px; z-index:50; width:420px; max-width:100%; padding:16px 18px 14px; border:1px solid var(--ol-line); border-radius:12px; background:#fff; box-shadow:0 10px 30px rgba(17,20,26,.16); color:var(--ol-ink); }
.ol-sz-pop[hidden] { display:none; }
.ol-sz-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.ol-sz-head b { font-size:15px; }
.ol-sz-x { width:28px; height:28px; padding:0; border:0; background:none; font-size:22px; line-height:1; color:var(--ol-mut); cursor:pointer; }
.ol-sz-legend { margin:0 0 12px; padding:0; list-style:none; display:flex; flex-direction:column; gap:5px; font-size:12.5px; color:var(--ol-mut); line-height:1.5; }
.ol-sz-legend li { list-style:none; display:flex; align-items:center; gap:6px; }
.ol-sz-legend b { color:var(--ol-ink); font-weight:700; flex:none; }
.ol-sz-k { flex:none; width:12px; height:12px; border-radius:2px; box-sizing:border-box; }
/* 2026-11-04: 칼선 미리보기와 같은 색 — 재단 빨간 점선 #FF5959 · 편집 노란 선 #F0CF06 · 안전 파란 선 #5e93ff (shop/order.php #cscon·#tpDiv·#safecon) */
.ol-sz-k-c { border:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Crect x='1' y='1' width='10' height='10' fill='none' stroke='%23FF5959' stroke-width='2' stroke-dasharray='2.5 1.5'/%3E%3C/svg%3E") center/100% 100% no-repeat; }   /* 작은 네모는 border dashed가 실선처럼 보여 점선 그림으로 */
.ol-sz-k-e { border:2px solid #F0CF06; }
.ol-sz-k-s { border:2px solid #5e93ff; }
.ol-sz-table th .ol-sz-k { display:inline-block; width:10px; height:10px; margin-right:4px; vertical-align:-1px; }
.ol-sz-table { width:100%; border-collapse:collapse; font-size:13px; font-variant-numeric:tabular-nums; }
.ol-sz-table th, .ol-sz-table td { padding:8px 6px; border-bottom:1px solid #eceef1; text-align:center; white-space:nowrap; }
.ol-sz-table th { font-size:12px; font-weight:700; color:var(--ol-mut); background:var(--ol-bg); }
.ol-sz-table td:first-child, .ol-sz-table th:first-child { text-align:left; }
.ol-sz-table td:first-child { font-weight:700; }
.ol-sz-table tr.is-on td { background:var(--ol-soft); }
.ol-sz-table tr.is-on td:first-child::after { content:"선택"; margin-left:6px; padding:1px 6px; border-radius:8px; background:var(--ol-ink); color:#fff; font-size:10.5px; font-weight:700; vertical-align:1px; }
.ol-sz-msg { margin:6px 0; font-size:13px; color:var(--ol-mut); }
.ol-sz-note { margin:10px 0 0; font-size:11.5px; color:var(--ol-mut); }

/* 2026-11-04: 칼선 미리보기 (일반명함·수입지명함, 프리셋 kal) — 기존 주문 화면 칼선 미리보기와 같은 색: 바탕 #FDF9E6 · 편집 #F0CF06 · 재단 #FF5959 점선 · 안전 #5e93ff */
.ol-main-img { position:relative; }
.ol-kal { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; background:#FDF9E6; }
.ol-kal[hidden] { display:none; }
.ol-kal-e { position:relative; width:76%; aspect-ratio:92 / 52; box-sizing:border-box; border:1px solid #F0CF06; background:#fff; }
.ol-kal-c { position:absolute; box-sizing:border-box; border:1px dashed #FF5959; }
.ol-kal-s { position:absolute; box-sizing:border-box; border:1px solid #5e93ff; }
.ol-kal-lg { display:flex; flex-wrap:wrap; justify-content:center; gap:6px 16px; margin:0; padding:0 16px; list-style:none; font-size:13px; color:#656045; }
.ol-kal-lg li { list-style:none; display:flex; align-items:center; gap:6px; }
.ol-kal-lg b { color:#1a1d23; font-weight:700; font-variant-numeric:tabular-nums; }
.ol-kal-k { width:16px; height:0; border-top:2px solid; }
.ol-kal-k-e { border-top-color:#F0CF06; }
.ol-kal-k-c { border-top:2px dashed #FF5959; }
.ol-kal-k-s { border-top-color:#5e93ff; }
.ol-thumb-kal { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; background:#FDF9E6; }
.ol-thumb-kal span { font-size:10.5px; font-weight:700; line-height:1.2; color:#656045; letter-spacing:-0.3px; }
.ol-thumb-kal-ico { position:relative; width:40px; height:24px; box-sizing:border-box; border:1px solid #F0CF06; background:#fff; }
.ol-thumb-kal-ico i { position:absolute; box-sizing:border-box; }
.ol-thumb-kal-ico i:first-child { inset:2px; border:1px dashed #FF5959; }
.ol-thumb-kal-ico i:last-child { inset:5px; border:1px solid #5e93ff; }

/* 2026-11-04: [맞춤 칼선 다운로드] — 기존 주문 화면(shop/order.php .sizetpl .file_download)과 같은 검은 동그라미 + 글자 */
.ol-kal-dl { position:absolute; top:16px; right:16px; z-index:3; display:flex; align-items:center; gap:8px; height:40px; padding:0 4px 0 14px; border:0; border-radius:999px; background:rgba(255,255,255,.92); box-shadow:0 1px 6px rgba(0,0,0,.14); color:#1a1d23; font:inherit; font-size:13px; font-weight:700; letter-spacing:-0.3px; cursor:pointer; }
.ol-kal-dl i { flex:none; width:32px; height:32px; border-radius:50%; background:url(/img/sub/ico-kal_download.svg) no-repeat center #1E1E1E; background-size:16px; }
.ol-kal-dl:hover { background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.2); }
.ol-kal-dl:focus-visible { outline:2px solid #1a1d23; outline-offset:2px; }
.ol-kal-dl[disabled] { cursor:wait; opacity:.7; }

/* 2026-11-04: 디자인 없음 경고 창 (#ol-nofile-overlay, 틀은 order_namecard1_new.css nf-modal) */
#nf-order .ol-nofile { width:400px; max-width:calc(100vw - 32px); }
#nf-order .ol-nofile .nf-modal-body { display:flex; flex-direction:column; align-items:center; text-align:center; }
#nf-order .ol-nofile-ico { width:44px; height:44px; margin:4px 0 12px; border-radius:50%; background:#fff4e5; color:#e8590c; font:700 24px/44px Georgia, serif; }
#nf-order .ol-nofile-d { margin:0 0 20px; font-size:14px; line-height:1.6; color:#4b5563; word-break:keep-all; }
#nf-order .ol-nofile-btns { display:flex; gap:8px; width:100%; }
#nf-order .ol-nofile-btn { flex:1; height:46px; padding:0 8px; border:1px solid #1a1d23; border-radius:8px; background:#fff; color:#1a1d23; font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
#nf-order .ol-nofile-btn.is-main { background:#1a1d23; color:#fff; }
#nf-order .ol-nofile-btn[hidden] { display:none; }
#nf-order .ol-nofile-skip { margin-top:14px; padding:4px 8px; border:0; background:none; color:#6b7280; font:inherit; font-size:13px; text-decoration:underline; cursor:pointer; }

/* 2026-11-05: [작업가이드] — 제목 줄 오른쪽(모바일은 .ol-guide-row로 설명 아래 오른쪽). 흰 바탕 + 검정 테두리 둥근 버튼, 새 창 ↗ */
.ol-guide-btn { margin-left:auto; flex:none; display:inline-flex; align-items:center; gap:4px; padding:6px 12px; border:1px solid var(--ol-ink); border-radius:20px; background:#fff; color:var(--ol-ink); font-size:13px; font-weight:700; line-height:1.4; text-decoration:none; }
.ol-guide-btn:hover { background:var(--ol-soft); color:var(--ol-ink); }
.ol-guide-btn:focus-visible { outline:2px solid var(--ol-ink); outline-offset:2px; }
.ol-guide-btn i { font-style:normal; font-size:12px; color:var(--ol-mut); }
.ol-guide-row { display:flex; justify-content:flex-end; margin-top:-12px; }

/* 2026-11-06: 건수 더하기·빼기 (type=stepper, 홀로그램 포토카드) */
.ol-step { display:inline-flex; align-items:center; gap:8px; }
.ol-step-btn { width:40px; height:40px; border:1px solid var(--ol-line); border-radius:50%; background:#fff; color:var(--ol-ink); font:inherit; font-size:20px; line-height:1; cursor:pointer; }
.ol-step-btn:hover:not(:disabled) { border-color:var(--ol-ink); }
.ol-step-btn:disabled { opacity:.35; cursor:default; }
.ol-step-btn:focus-visible { outline:2px solid var(--ol-ink); outline-offset:2px; }
.ol-step-n { min-width:64px; padding:8px 14px; border:2px solid var(--ol-ink); border-radius:20px; background:var(--ol-soft); text-align:center; font-size:14px; }
.ol-step-n b { font-weight:700; margin-right:1px; }

/* 2026-11-06: 아래 탭 — 선택한 탭 밑줄을 글자 너비만큼 · 5px (간편 주문 화면만, 탭 파일 shop/order_info_tabs.inc.php는 그대로)
   4칸 격자 가운데에 버튼을 글자 크기로 두어 글자 자리는 예전(칸 1/4씩)과 같고, 밑줄 = 버튼 너비 − 양옆 여백 */
#ol-page #nf-info .nf-info-tabs { display:grid; grid-template-columns:repeat(4, 1fr); justify-items:center; }
#ol-page #nf-info .nf-info-tabs button { padding:0 8px 14px; }
#ol-page #nf-info .nf-info-tabs button.is-on::after { left:8px; right:8px; bottom:-1px; height:5px; }
