:root {
  /* 비주몰 테마 (biju.kr 기준): 흰 바탕 + 주황 포인트 + Pretendard */
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #111111;
  --ink-2: #555555;
  --muted: #999999;
  --line: #eaeaea;
  --brand: #fa9427;
  --brand-dark: #e57f12;
  --brand-ink: #ffffff;
  --brand-soft: #fff3e6;
  --kraft: #c9a47b;
  --kraft-soft: #f5f5f5;
  --footer-ink: #353535;
  --danger: #d4380d;
  --danger-soft: #fff1ec;
  --warn: #a15c00;
  --warn-soft: #fff6e5;
  --ok: #1f7a4c;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .05);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- 상단 띠 / 헤더 / 푸터 ---------- */
.top-strip { background: var(--brand); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 9px 16px; letter-spacing: -.01em; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 36px; height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 30px; width: auto; display: block; }
.gnb { display: flex; gap: 28px; align-items: center; }
.gnb > a, .gnb .dd > a { text-decoration: none; color: #000; font-weight: 600; font-size: 16px; padding: 24px 0; display: inline-block; }
.gnb > a:hover, .gnb .dd > a:hover, .gnb a[aria-current="page"] { color: var(--brand); }
.gnb .dd { position: relative; }
.gnb .dd-menu { display: none; position: absolute; top: 62px; left: -14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; min-width: 140px; }
.gnb .dd:hover .dd-menu, .gnb .dd:focus-within .dd-menu { display: block; }
.gnb .dd-menu a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; color: var(--ink-2); }
.gnb .dd-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.util { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: 14px; }
.util a { text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.util a:hover, .util a[aria-current="page"] { color: var(--brand); }
.util svg { width: 22px; height: 22px; }
.cart-link { position: relative; }
.cart-badge {
  position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
}
.cart-badge.on { display: inline-flex; }
.menu-btn { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 24px 16px; }
.mobile-nav a { display: block; padding: 10px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a.sub { padding-left: 14px; font-weight: 500; color: var(--ink-2); }
.mobile-nav.open { display: block; }

.mode-banner { background: #222; color: #ffd8a8; font-size: 12px; text-align: center; padding: 5px 16px; }

.site-footer { margin-top: 100px; background: var(--brand); color: var(--footer-ink); font-size: 13px; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; }
.site-footer .f-top { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.site-footer .f-logo { color: #fff; font-size: 28px; font-weight: 900; letter-spacing: .04em; text-decoration: none; line-height: 1; }
.site-footer .f-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 6px 40px; }
.site-footer .f-links a { text-decoration: none; color: #fff; font-weight: 500; }
.site-footer .f-cs { text-align: right; color: #fff; }
.site-footer .f-cs b { display: block; font-size: 26px; letter-spacing: -.01em; }
.site-footer .biz { padding-top: 22px; line-height: 1.9; color: rgba(0, 0, 0, .7); }
.site-footer .biz span + span::before { content: "|"; margin: 0 10px; color: rgba(0, 0, 0, .25); }
.site-footer .copy { margin-top: 10px; color: rgba(0, 0, 0, .55); }

/* ---------- common ---------- */
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.3; margin: 0 0 12px; }
h1 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
.lead { color: var(--ink-2); font-size: 17px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.section { padding: 56px 0; }
.page-head { padding: 40px 0 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  background: var(--brand); color: var(--brand-ink); font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .05s ease, background .15s ease, opacity .15s ease;
}
.btn:hover { background: var(--brand-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { background: #f1efe9; }
.btn.danger { background: var(--danger); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.block { width: 100%; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 24px; }

.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.tag.kraft { background: var(--kraft-soft); color: #7a5528; }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.danger { background: var(--danger-soft); color: var(--danger); }
.tag.gray { background: #eeece6; color: var(--ink-2); }

.alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; margin: 12px 0; }
.alert.error { background: var(--danger-soft); color: var(--danger); }
.alert.info { background: var(--brand-soft); color: var(--brand); }
.alert.warn { background: var(--warn-soft); color: var(--warn); }
.hidden { display: none !important; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.input, select.input, textarea.input {
  height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; background: #fff; width: 100%;
}
textarea.input { height: auto; min-height: 84px; padding: 10px 14px; resize: vertical; }
.input:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.input.invalid { border-color: var(--danger); background: #fffafa; }
.field-error { color: var(--danger); font-size: 13px; font-weight: 600; width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 8px 0; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 14px; cursor: pointer; font-weight: 600; color: var(--ink-2);
}
.seg button[disabled] { opacity: .4; cursor: not-allowed; }
.seg button[aria-pressed="true"][disabled] { opacity: 1; cursor: default; }
.seg button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }

/* ---------- home ---------- */
.hero { padding: 64px 0 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .cta { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.hero-art { background: var(--kraft-soft); border-radius: 24px; aspect-ratio: 1 / .85; display: flex; align-items: center; justify-content: center; }
.stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.stats b { display: block; font-size: 22px; }
.stats span { color: var(--muted); font-size: 13px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { padding: 0; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s ease; }
.product-card:hover { transform: translateY(-3px); }
.product-card .thumb { background: var(--kraft-soft); height: 190px; display: flex; align-items: center; justify-content: center; }
.product-card .body { padding: 18px 20px 22px; }
.product-card .price { margin-top: 10px; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.step { padding: 18px; }
.step::before { counter-increment: s; content: counter(s); display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; margin-bottom: 10px; }
.step b { display: block; margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-2); font-size: 14px; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }

/* ---------- product ---------- */
.config { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; padding-top: 12px; }
.preview { position: sticky; top: 88px; }
.preview-box { background: var(--kraft-soft); border-radius: var(--radius); height: 300px; display: flex; align-items: center; justify-content: center; }
.opt-group { padding: 22px 0; border-bottom: 1px solid var(--line); }
.opt-group:last-child { border-bottom: 0; }
.opt-group h3 { font-size: 16px; margin-bottom: 12px; }
.opt-group .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }

.summary-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.summary-table td { padding: 7px 0; }
.summary-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.summary-table tr.total td { border-top: 1px solid var(--line); padding-top: 12px; font-size: 18px; font-weight: 800; }

.drop {
  display: block;
  border: 1.5px dashed #cbc5b8; border-radius: 12px; padding: 20px; text-align: center; background: #fbfaf7; cursor: pointer;
}
.drop.drag { border-color: var(--brand); background: var(--brand-soft); }
.drop .file-chip { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }

/* ---------- cart / checkout ---------- */
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item .ico { width: 72px; height: 72px; border-radius: 12px; background: var(--kraft-soft); display: flex; align-items: center; justify-content: center; }
.cart-item .meta { font-size: 13px; color: var(--ink-2); }
.cart-item .amt { text-align: right; font-weight: 800; white-space: nowrap; }
.linkbtn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 0; font-size: 13px; }
.sticky { position: sticky; top: 88px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

.mock-pay { border: 2px dashed #e0c98d; background: var(--warn-soft); border-radius: 14px; padding: 20px; }
.mock-pay h3 { color: var(--warn); }

/* ---------- order status ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .when { font-size: 12px; color: var(--muted); }

.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 18px 0; }
.progress div { text-align: center; font-size: 12px; color: var(--muted); }
.progress div::before { content: ""; display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 8px; }
.progress div.done { color: var(--brand); font-weight: 700; }
.progress div.done::before { background: var(--brand); }

/* ---------- admin ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-size: 12px; color: var(--muted); font-weight: 700; background: #faf9f6; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #faf9f6; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

.policy h2 { margin-top: 36px; }
.policy p, .policy li { color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero, .config, .two-col, .admin-grid { grid-template-columns: 1fr; }
  .preview, .sticky { position: static; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav { gap: 14px; }
  .nav .hide-sm { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .row, .row3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .cart-item { grid-template-columns: 56px 1fr; }
  .cart-item .ico { width: 56px; height: 56px; }
  .cart-item .amt { grid-column: 2; text-align: left; }
}

/* ---------- 3D 상자 / 전개도 / 디자인 편집기 ---------- */
.b3-scene { position: relative; perspective: 1100px; display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; user-select: none; overflow: hidden; }
.b3-scene:active { cursor: grabbing; }
.b3-cube { position: relative; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.b3-face { position: absolute; overflow: hidden; backface-visibility: hidden; outline: 1px solid rgba(0,0,0,.12); }
.b3-face .shade, .net-face .shade { position: absolute; inset: 0; pointer-events: none; }
.b3-handle { position: absolute; border: 3px solid #6b4a2b; border-bottom: 0; border-radius: 999px 999px 0 0; backface-visibility: hidden; }
.b3-face img.ly, .net-face img.ly, .face-stage img.ly { position: absolute; max-width: none; user-select: none; -webkit-user-drag: none; }

.net { position: relative; width: 100%; }
.net-face { position: absolute; overflow: hidden; outline: 1px dashed rgba(0,0,0,.35); }
.net-label { position: absolute; left: 4px; top: 2px; font-size: 10px; font-weight: 700; color: rgba(0,0,0,.45); background: rgba(255,255,255,.6); padding: 0 4px; border-radius: 4px; z-index: 2; }

.preview-tabs { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.preview-tabs .seg button { padding: 6px 12px; font-size: 13px; }
.view-btns { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.view-btns button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 9px; font-size: 12px; cursor: pointer; color: var(--ink-2); }
.preview-stage { background: var(--kraft-soft); border-radius: var(--radius); padding: 12px; }
.preview-stage .net { margin: 10px 0; }

.editor { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fbfaf7; }
.face-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.face-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2); position: relative; }
.face-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.face-tabs button .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-left: 5px; vertical-align: middle; }
.face-tabs button[aria-pressed="true"] .dot { background: #ffc58a; }
.stage-wrap { display: flex; justify-content: center; align-items: center; background: repeating-conic-gradient(#eeebe4 0 25%, #f7f5f0 0 50%) 0 0 / 16px 16px; border-radius: 10px; padding: 18px; min-height: 220px; }
.face-stage { position: relative; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.15); touch-action: none; }
.face-stage img.ly { cursor: move; }
.face-stage img.ly.sel { outline: 2px solid #2f80ed; outline-offset: 1px; }
.face-stage .guide { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, transparent calc(50% - .5px), rgba(47,128,237,.35) 0 calc(50% + .5px), transparent 0), linear-gradient(to bottom, transparent calc(50% - .5px), rgba(47,128,237,.35) 0 calc(50% + .5px), transparent 0); opacity: 0; transition: opacity .15s; }
.face-stage.dragging .guide { opacity: 1; }
.face-dims { text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
.layer-ctl { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 10px; align-items: center; margin-top: 12px; font-size: 13px; }
.layer-ctl input[type=range] { width: 100%; accent-color: var(--brand); }
.layer-ctl .val { font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 44px; text-align: right; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13px; }
.file-list li { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.file-list li .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list img { width: 36px; height: 36px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.bg-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; flex-wrap: wrap; }
.bg-row input[type=color] { width: 40px; height: 32px; border: 1px solid var(--line); border-radius: 8px; padding: 2px; background: #fff; }
.editor.disabled { opacity: .45; pointer-events: none; }
.viewer-tabs { margin-bottom: 8px; }
.viewer-tabs button { padding: 5px 12px; font-size: 13px; }
.viewer-3d { background: var(--kraft-soft); border-radius: 12px; }
.item-viewer { margin-top: 10px; }

/* ---------- 주문조회 ---------- */
.lookup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.lookup-grid #recent-box { grid-column: 1 / -1; }
.recent-list { list-style: none; padding: 0; margin: 0; }
.recent-list li { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); }
.recent-list li:first-child { border-top: 0; }
.recent-list li a { text-decoration: none; }
.recent-list .st { margin-left: auto; }
@media (max-width: 900px) { .lookup-grid { grid-template-columns: 1fr; } }

/* ---------- 비주몰 레이아웃 ---------- */
@media (max-width: 1000px) {
  .hide-md { display: none !important; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { height: 60px; gap: 16px; }
}
@media (max-width: 560px) { .hide-sm { display: none !important; } }

.page-title { font-size: 38px; font-weight: 700; letter-spacing: -.02em; margin: 40px 0 6px; }
.crumb { font-size: 12px; color: var(--muted); margin-top: 18px; }
.crumb a { text-decoration: none; }
.list-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 20px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.list-bar b { color: var(--brand); }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-tabs a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cat-tabs a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.prd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.prd { text-decoration: none; display: block; }
.prd .thumb { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--kraft-soft); }
.prd .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.prd:hover .thumb img { transform: scale(1.04); }
.prd .nm { margin-top: 12px; font-size: 14px; color: var(--brand); font-weight: 600; line-height: 1.45; }
.prd .tg { font-size: 12px; color: var(--muted); margin-top: 2px; }
.prd .pr { margin-top: 8px; font-weight: 800; font-size: 15px; }
.prd .pr small { font-weight: 500; color: var(--muted); font-size: 12px; margin-right: 4px; }
.more-wrap { text-align: center; margin: 36px 0 0; }

.hero-b { position: relative; border-radius: 20px; overflow: hidden; background: #111; color: #fff; margin-top: 24px; min-height: 420px; display: grid; grid-template-columns: 1.05fr 1fr; }
.hero-b .txt { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.hero-b .kicker { color: var(--brand); font-weight: 800; letter-spacing: .02em; font-size: 14px; }
.hero-b h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 300; line-height: 1.15; margin: 14px 0 16px; letter-spacing: -.03em; }
.hero-b h1 b { font-weight: 800; }
.hero-b p { color: rgba(255, 255, 255, .78); margin: 0 0 26px; }
.hero-b .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
.hero-b .imgs img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; min-height: 0; }
.section-h { display: flex; justify-content: space-between; align-items: end; margin: 72px 0 22px; gap: 12px; }
.section-h h2 { font-size: 30px; margin: 0; }
.section-h h2 .o { color: var(--brand); }
.section-h a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.section-h p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc a { text-decoration: none; border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: block; }
.svc a:hover { border-color: var(--brand); }
.svc b { display: block; font-size: 16px; margin: 10px 0 4px; }
.svc span { font-size: 13px; color: var(--muted); }
.svc .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* 상품 상세 */
.pd-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 24px; align-items: start; }
.pd-gallery .main { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--kraft-soft); }
.pd-gallery .main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-gallery .thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pd-gallery .thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--kraft-soft); }
.pd-gallery .thumbs button[aria-pressed="true"] { border-color: var(--brand); }
.pd-gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: 28px; font-weight: 700; margin: 0 0 6px; }
.pd-info .desc { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }
.pd-info .price-line { font-size: 24px; font-weight: 800; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.pd-info .price-line small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.opt-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.opt-row > .k { font-size: 13px; font-weight: 700; color: var(--ink-2); padding-top: 9px; }
.seg.sm button { padding: 7px 12px; font-size: 13px; }
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty-box button { width: 38px; height: 40px; border: 0; background: #fafafa; cursor: pointer; font-size: 18px; }
.qty-box input { width: 70px; height: 40px; border: 0; text-align: center; font-weight: 700; }
.buy-btns { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
.pd-tabs { position: sticky; top: 72px; z-index: 5; background: #fff; display: flex; border-bottom: 1px solid var(--ink); margin-top: 72px; }
.pd-tabs a { flex: 1; text-align: center; padding: 14px 0; text-decoration: none; font-weight: 600; color: var(--muted); }
.pd-tabs a:hover { color: var(--ink); }
.pd-sec { padding-top: 40px; scroll-margin-top: 140px; }
.pd-detail img { display: block; max-width: 860px; width: 100%; margin: 0 auto; }
.guide-text { color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.guide-text h4 { color: var(--ink); margin: 22px 0 6px; font-size: 15px; }
.design-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.design-wrap .pv { position: sticky; top: 140px; }

/* 포트폴리오 상세 */
.pf-top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; margin-top: 24px; align-items: start; }
.pf-detail img { width: 100%; display: block; border-radius: 12px; margin-bottom: 12px; }
.pf-side { position: sticky; top: 100px; }

@media (max-width: 1000px) {
  .prd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-top, .pf-top, .design-wrap { grid-template-columns: 1fr; }
  .design-wrap .pv, .pf-side { position: static; }
  .hero-b { grid-template-columns: 1fr; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .site-footer .f-top { grid-template-columns: 1fr; }
  .site-footer .f-cs { text-align: left; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .prd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .page-title { font-size: 28px; }
  .hero-b .txt { padding: 36px 24px; }
  .opt-row { grid-template-columns: 1fr; gap: 6px; }
  .opt-row > .k { padding-top: 0; }
  .pd-tabs { top: 60px; }
  .pd-tabs a { font-size: 13px; }
  .svc { grid-template-columns: 1fr; }
}
.lid-band { position: absolute; left: 0; right: 0; top: 0; height: 30%; border-bottom: 2px solid rgba(0,0,0,.18); background: rgba(255,255,255,.06); pointer-events: none; }
.handle-slot { position: absolute; left: 20%; right: 20%; top: 46%; height: 8%; background: rgba(0,0,0,.15); border-radius: 999px; pointer-events: none; }
.b3-plate { position: absolute; border-radius: 10px 10px 0 0; outline: 1px solid rgba(0,0,0,.15); filter: brightness(.95); }
.b3-plate .hole { position: absolute; left: 22%; right: 22%; top: 28%; height: 26%; background: rgba(0,0,0,.55); border-radius: 999px; }
[hidden] { display: none !important; }
