/* 솔룸 아카이브: 빈티지 셀렉샵 아임웹 → 카페24 이전 시연 (vintage)
   인상: 박엽지 분홍빛 바탕에 짙은 고동 글자, 청록 잉크. 모서리 0, 그림자 없음, 1px 선, 넓은 여백.
   움직임은 동시 품절 화면의 SOLD OUT 도장 하나에만 쓴다. */

.vt {
  --bg: #F2E8E3;
  --surface: #FBF6F3;
  --surface-2: #EADDD6;
  --text: #241C1A;
  --primary: #241C1A;
  --muted: #6F605A;
  --line: #DFD0C8;
  --line-strong: #BFA99F;
  --accent: #0E5A6E;
  --accent-soft: #DCE9EC;
  --ok: #2E6B4A;
  --ok-soft: #E1EDE5;
  --warn: #8A5200;
  --warn-soft: #F5E6CF;
  --danger: #A3241C;
  --c-model: #0E5A6E;
  --c-mat: #7A4E9B;
  --c-size: #8A5200;
  --c-grade: #A3241C;
  --c-acc: #2E6B4A;
  --en: "Jost", "Pretendard Variable", Pretendard, sans-serif;
  --ja: "Zen Kaku Gothic New", "Pretendard Variable", sans-serif;
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --max: 1240px;
  --gap: 88px;
  --pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
.vt {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
:where(.vt) :where(p, h1, h2, h3, ol, ul, dl, dd, figure, fieldset) { margin: 0; }
:where(.vt) :where(ol, ul) { padding: 0; list-style: none; }
:where(.vt) :where(button, input, select, textarea) { font: inherit; color: inherit; }
.vt [hidden] { display: none !important; }
.vt :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vt a { color: var(--accent); }
.vt [lang="ja"], .vt .vt-ja { font-family: var(--ja); }
.vt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.vt-eyebrow { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.vt-h1 { font-size: 28px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; margin-top: 6px; }
.vt-h2 { font-size: 18px; line-height: 1.4; font-weight: 600; }
.vt-lead { margin-top: 12px; max-width: 760px; color: var(--text); }
.vt-assume { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- 버튼·칩 ---------- */
.vt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border: 1px solid var(--text); border-radius: 0;
  background: transparent; color: var(--text); font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none;
}
.vt-btn:disabled { opacity: .4; cursor: default; }
.vt-btn--ink { background: var(--text); color: var(--surface); }
.vt-btn--ink:hover:not(:disabled) { background: #3A2E2B; }
.vt-btn--line { background: var(--surface); }
.vt-btn--line:hover { background: #fff; }
.vt-btn--sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.vt-btn--block { display: flex; width: 100%; }
.vt-link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; }
.vt-chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong);
  background: var(--surface); border-radius: 0; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.vt-chip.is-on { border-color: var(--accent); background: var(--accent); color: #fff; }
.vt-chip--ex { font-family: var(--en); letter-spacing: .04em; }
.vt-badge { display: inline-block; padding: 1px 8px; border: 1px solid currentColor; font-size: 12px; font-weight: 600; white-space: nowrap; }
.vt-badge--ok { color: var(--ok); background: var(--ok-soft); }
.vt-badge--warn { color: var(--warn); background: var(--warn-soft); }
.vt-badge--done { color: var(--accent); background: var(--accent-soft); }

/* ---------- 머리·띠 ---------- */
.vt-band {
  height: 28px; line-height: 28px; text-align: center; padding: 0 12px;
  background: var(--surface-2); color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden;
}
.vt-head { border-bottom: 1px solid var(--line); background: var(--bg); }
.vt-head__inner {
  max-width: var(--max); margin: 0 auto; padding: 18px var(--pad);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}
.vt-brand { display: grid; text-decoration: none; color: var(--text); }
.vt-brand__en { font-family: var(--en); font-size: 18px; font-weight: 500; letter-spacing: .32em; }
.vt-brand__ko { font-size: 12px; color: var(--muted); }
.vt-nav { display: flex; gap: 4px; justify-content: center; }
.vt-nav__item { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--text); text-decoration: none; border-bottom: 2px solid transparent; font-size: 15px; }
.vt-nav__item:hover { border-bottom-color: var(--line-strong); }
.vt-nav__item.is-on { border-bottom-color: var(--accent); color: var(--accent); font-weight: 600; }

.vt-main { min-height: 60vh; }
.vt-wrap { max-width: var(--max); margin: 0 auto; padding: 48px var(--pad) var(--gap); }
.vt-intro { margin-bottom: 36px; }

.vt-foot { border-top: 1px solid var(--line); padding-bottom: 84px; }
.vt-foot__inner { max-width: var(--max); margin: 0 auto; padding: 20px var(--pad) 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.vt-foot__name { font-family: var(--en); letter-spacing: .28em; font-size: 13px; }
.vt-foot__note { font-size: 13px; color: var(--muted); }
.demo-notice { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 14px; font-size: 12px; color: var(--muted); }

.vt-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 30; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--text); border-radius: 0; background: var(--surface); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer;
}
.vt-fab:hover { background: #fff; }

/* ---------- 대화상자·알림 ---------- */
.vt-dialog { border: 1px solid var(--text); border-radius: 0; padding: 0; width: min(720px, calc(100vw - 24px)); max-height: calc(100vh - 40px); background: var(--surface); color: var(--text); }
.vt-dialog::backdrop { background: rgba(36, 28, 26, .4); }
.vt-dialog--sm { width: min(400px, calc(100vw - 24px)); }
.vt-dialog__body { padding: 24px; }
.vt-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.vt-dialog__title { font-size: 18px; font-weight: 600; }
.vt-dialog__sub { font-size: 15px; font-weight: 600; margin: 22px 0 8px; }
.vt-dialog__foot { margin-top: 18px; font-size: 13px; color: var(--muted); }
.vt-icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.vt-map li { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.vt-map__need { color: var(--text); }
.vt-map__show { color: var(--accent); }
.vt-map__show--off { color: var(--muted); }
.vt-diffs li { position: relative; padding-left: 14px; font-size: 13px; margin-top: 6px; }
.vt-diffs li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--text); }
.vt-info { margin-bottom: 18px; }
.vt-toast {
  position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%); z-index: 40; max-width: calc(100vw - 32px);
  padding: 10px 16px; background: var(--text); color: var(--surface); font-size: 13px;
}
.vt-toast[data-tone="warn"] { background: var(--warn); }

/* ---------- 1. 이전 정제 ---------- */
.vt-result {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--text); background: var(--surface);
}
.vt-stat { padding: 20px 24px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.vt-stat:nth-child(4) { border-right: 0; }
.vt-stat__label { font-size: 13px; color: var(--muted); }
.vt-stat__num { font-family: var(--en); font-size: 48px; line-height: 1; font-weight: 400; font-variant-numeric: tabular-nums; }
.vt-stat__num strong { font-weight: 400; }
.vt-stat__num small { font-family: var(--font); font-size: 15px; margin-left: 4px; }
.vt-stat--ok .vt-stat__num { color: var(--ok); }
.vt-stat--warn .vt-stat__num { color: var(--warn); }
.vt-stat--done .vt-stat__num { color: var(--accent); }
.vt-reasons { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 12px 24px; border-top: 1px solid var(--line); font-size: 13px; }
.vt-reasons strong { font-family: var(--en); font-weight: 500; color: var(--warn); font-variant-numeric: tabular-nums; }
.vt-reasons__label { color: var(--muted); }

.vt-refine {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; margin-top: 32px;
  grid-template-areas: "rep panel" "list list" "moves moves";
}
.vt-rep { grid-area: rep; border: 1px solid var(--line); background: var(--surface); padding: 24px; scroll-margin-top: 12px; }
.vt-panel { grid-area: panel; border: 1px solid var(--line); background: var(--surface); padding: 24px; }
.vt-list { grid-area: list; margin-top: 56px; }
.vt-moves { grid-area: moves; margin-top: 56px; }

.vt-rep__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.vt-rep__id { font-family: var(--en); color: var(--text); letter-spacing: .06em; }
.vt-rep__cap, .vt-panel__cap { margin-top: 18px; font-size: 13px; color: var(--muted); }
.vt-panel__cap:first-child { margin-top: 0; }
.vt-rep__raw { margin-top: 8px; font-size: 18px; line-height: 2.6; }
.vt-rep__arrow { margin: 6px 0 12px; font-size: 13px; color: var(--muted); }
.vt-rep__note { margin-top: 12px; font-size: 13px; color: var(--muted); }

.vt-seg { display: inline-flex; flex-direction: column; align-items: flex-start; vertical-align: top; line-height: 1.3; margin: 0 1px; }
.vt-seg__text { border-bottom: 3px solid var(--segc); padding-bottom: 1px; }
.vt-seg__label { font-size: 11px; color: var(--segc); line-height: 1.4; margin-top: 2px; font-weight: 600; letter-spacing: .02em; }
.vt-seg__plain { white-space: pre-wrap; vertical-align: top; line-height: 1.3; }
.vt-seg--model { --segc: var(--c-model); }
.vt-seg--mat { --segc: var(--c-mat); }
.vt-seg--size { --segc: var(--c-size); }
.vt-seg--grade { --segc: var(--c-grade); }
.vt-seg--acc { --segc: var(--c-acc); }
.vt-seg--grade_hint { --segc: var(--warn); }
.vt-seg--grade_hint .vt-seg__text { border-bottom-style: dashed; }

.vt-boxes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.vt-box { border: 1px solid var(--line); border-top: 4px solid var(--boxc); padding: 10px 12px; background: #fff; min-width: 0; }
.vt-box dt { font-size: 12px; color: var(--boxc); font-weight: 600; }
.vt-box dd { margin-top: 4px; font-size: 15px; font-weight: 500; }
.vt-box--model { --boxc: var(--c-model); }
.vt-box--model dd { font-family: var(--en); letter-spacing: .04em; }
.vt-box--mat { --boxc: var(--c-mat); }
.vt-box--size { --boxc: var(--c-size); }
.vt-box--grade { --boxc: var(--c-grade); }
.vt-box--acc { --boxc: var(--c-acc); }
.vt-box.is-miss { border-style: dashed; border-top-style: solid; background: var(--warn-soft); }
.vt-box.is-miss dd { color: var(--warn); font-family: var(--font); letter-spacing: 0; }

.vt-form { display: grid; gap: 6px; margin-top: 8px; }
.vt-form__row { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 8px; }
.vt-form__row dt { font-size: 13px; color: var(--muted); }
.vt-form__row input { width: 100%; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); background: var(--bg); border-radius: 0; font-size: 15px; }
.vt-names { margin: 8px 0 18px; display: grid; gap: 6px; }
.vt-names li { display: grid; grid-template-columns: 32px 1fr; gap: 8px; font-size: 15px; }
.vt-names__tag { font-family: var(--en); font-size: 12px; letter-spacing: .08em; color: var(--muted); padding-top: 2px; }
.vt-panel__done { margin-bottom: 16px; padding: 10px 12px; border: 1px solid var(--accent); background: var(--accent-soft); font-size: 13px; }

.vt-review__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; }
.vt-review__why { margin-top: 10px; }
.vt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.vt-chips .vt-chip { min-height: 44px; min-width: 56px; justify-content: center; font-size: 15px; }
.vt-review__input { display: grid; gap: 4px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.vt-review__input input { min-height: 44px; padding: 0 12px; border: 1px solid var(--text); border-radius: 0; background: #fff; font-size: 15px; color: var(--text); }
.vt-review__note { margin-top: 10px; font-size: 13px; color: var(--muted); }

.vt-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--text); overflow-x: auto; }
.vt-tab { min-height: 44px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; background: none; cursor: pointer; font-size: 15px; white-space: nowrap; color: var(--muted); }
.vt-tab span { font-family: var(--en); margin-left: 4px; font-variant-numeric: tabular-nums; }
.vt-tab.is-on { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }

.vt-table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--surface); }
.vt-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vt-table td { padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vt-row.is-sel td { background: #fff; }
.vt-row.is-sel .vt-row__raw { box-shadow: inset 3px 0 0 var(--accent); }
.vt-row__raw { width: 38%; }
.vt-row__pick { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; line-height: 1.5; color: var(--text); }
.vt-row__pick:hover { color: var(--accent); }
.vt-row__id { display: inline-block; font-family: var(--en); color: var(--muted); margin-right: 8px; letter-spacing: .04em; }
.vt-row__f { white-space: nowrap; }
.vt-row__st { white-space: nowrap; }
.vt-row__why { display: block; margin-top: 4px; font-size: 12px; color: var(--warn); white-space: normal; }
.vt-miss { color: var(--warn); font-weight: 600; }
.vt-fixed { color: var(--accent); font-weight: 600; }
.vt-empty { padding: 32px; text-align: center; color: var(--muted); }
.vt-list__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.vt-list__count { font-size: 13px; color: var(--muted); }

.vt-mtable { width: 100%; border-collapse: collapse; margin-top: 12px; background: var(--surface); }
.vt-mtable th, .vt-mtable td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.vt-mtable th { width: 180px; font-weight: 600; }

/* ---------- 2. 상품 목록 ---------- */
.vt-intro--shop { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: end; }
.vt-admin { border: 1px solid var(--line); background: var(--surface); padding: 16px; }
.vt-admin__cap { font-size: 12px; color: var(--muted); }
.vt-admin__note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.vt-switch { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.vt-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vt-switch__track { position: relative; width: 44px; height: 24px; border: 1px solid var(--text); background: var(--bg); flex: none; }
.vt-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--text); transition: transform .15s; }
.vt-switch input:checked + .vt-switch__track { background: var(--accent); border-color: var(--accent); }
.vt-switch input:checked + .vt-switch__track::after { transform: translateX(20px); background: #fff; }
.vt-switch input:focus-visible + .vt-switch__track { outline: 2px solid var(--accent); outline-offset: 2px; }
.vt-switch__text strong { font-family: var(--en); letter-spacing: .06em; }

.vt-malltabs { display: flex; border: 1px solid var(--text); width: max-content; max-width: 100%; }
.vt-malltab { min-height: 48px; padding: 0 20px; border: 0; border-right: 1px solid var(--text); background: var(--surface); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.vt-malltab:last-child { border-right: 0; }
.vt-malltab strong { font-family: var(--en); font-weight: 500; letter-spacing: .06em; }
.vt-malltab span { font-size: 13px; color: var(--muted); }
.vt-malltab.is-on { background: var(--text); color: var(--surface); }
.vt-malltab.is-on span { color: #D9CBC4; }
.vt-malltabs--sm .vt-malltab { min-height: 44px; padding: 0 14px; }

.vt-cats { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 28px 0 0; border-bottom: 1px solid var(--line); }
.vt-cat { min-height: 44px; border: 0; border-bottom: 2px solid transparent; background: none; padding: 0 2px; cursor: pointer; font-size: 15px; }
.vt-cat span { font-family: var(--en); font-size: 12px; color: var(--muted); margin-left: 2px; }
.vt-cat.is-on { border-bottom-color: var(--text); font-weight: 600; }
.vt-cats[lang="en"] .vt-cat { font-family: var(--en); letter-spacing: .04em; }

.vt-shop { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 20px 40px; margin-top: 24px; grid-template-areas: "bar bar" "filters catalog"; }
.vt-shop__bar { grid-area: bar; display: flex; gap: 12px; align-items: center; }
.vt-shop__ftoggle { display: none; }
.vt-search { display: flex; gap: 8px; align-items: center; flex: 1; max-width: 560px; }
.vt-search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 1px solid var(--text); border-radius: 0; background: var(--surface); font-size: 15px; }
.vt-filters { grid-area: filters; display: grid; gap: 24px; align-content: start; }
.vt-fgroup { border: 0; padding: 0; min-width: 0; }
.vt-fgroup legend { padding: 0; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.vt-fgroup__note { margin-top: 6px; font-size: 12px; color: var(--muted); }
.vt-opt { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: 13px; border-bottom: 1px solid var(--line); }
.vt-opt input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.vt-opt__label { flex: 1; }
.vt-opt__n { font-family: var(--en); color: var(--muted); font-variant-numeric: tabular-nums; }
.vt-opt.is-on .vt-opt__label { color: var(--accent); font-weight: 600; }
.vt-opt.is-zero { color: var(--muted); }
.vt-opt__empty { color: var(--muted); }
.vt-fgroup--size { }
.vt-catalog { grid-area: catalog; min-width: 0; }
.vt-catalog__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.vt-catalog__count { font-size: 13px; color: var(--muted); }

.vt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
.vt a.vt-card { display: grid; gap: 4px; align-content: start; color: var(--text); text-decoration: none; min-width: 0; }
.vt-card__img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.vt-card__img .vt-art { position: absolute; inset: 12% 10%; width: 80%; height: 76%; }
.vt-card:hover .vt-card__img { border-color: var(--text); }
.vt-card__brand { margin-top: 8px; font-family: var(--en); font-size: 12px; letter-spacing: .18em; }
.vt-card__name { font-size: 13px; line-height: 1.45; }
.vt-catalog [lang="en"] .vt-card__name, .vt-grid[lang="en"] .vt-card__name { font-family: var(--en); }
.vt-grid[lang="ja"] .vt-card__name { font-family: var(--ja); }
.vt-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 24px; }
.vt-card__price { font-family: var(--en); font-size: 15px; font-variant-numeric: tabular-nums; }
.vt-grade { font-size: 11px; border: 1px solid var(--accent); color: var(--accent); padding: 0 6px; white-space: nowrap; }
.vt-grade--none { border-style: dashed; border-color: var(--warn); color: var(--warn); }
.vt-card.is-sold .vt-art { opacity: .45; }

.vt-sold {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-6deg);
  padding: 4px 10px; border: 2px solid var(--danger); color: var(--danger); background: rgba(251, 246, 243, .88);
  font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .14em; white-space: nowrap;
}
.vt-sold--lg { font-size: 28px; padding: 6px 18px; border-width: 3px; }
.vt-sold.is-new { animation: vt-stamp .38s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes vt-stamp {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-6deg) scale(1.8); }
  to { opacity: 1; transform: translate(-50%, -50%) rotate(-6deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .vt-sold.is-new { animation: none; }
  .vt-switch__track::after { transition: none; }
}

/* 상세 */
.vt-item__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.vt-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.vt-zoom { position: relative; aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); overflow: hidden; cursor: zoom-in; }
.vt-zoom__art { position: absolute; inset: 10%; width: 80%; height: 80%; transition: transform .1s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.vt-zoom.is-zoom .vt-zoom__art { transform: scale(2.2); }
.vt-item.is-sold .vt-zoom__art { opacity: .45; }
.vt-item__mediabar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.vt-item__hint { font-size: 12px; color: var(--muted); }
.vt-item__brand { font-family: var(--en); letter-spacing: .24em; font-size: 13px; }
.vt-item__name { font-size: 28px; line-height: 1.35; font-weight: 500; margin-top: 6px; }
.vt-item[lang="en"] .vt-item__name { font-family: var(--en); }
.vt-item__price { font-family: var(--en); font-size: 28px; margin-top: 12px; min-height: 1.3em; font-variant-numeric: tabular-nums; }
.vt-spec { width: 100%; border-collapse: collapse; margin-top: 20px; border-top: 1px solid var(--text); }
.vt-spec th, .vt-spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.vt-spec th { width: 120px; font-weight: 500; color: var(--muted); }
.vt-item__actions { display: grid; gap: 8px; margin-top: 24px; }
.vt-item__soldnote { margin-top: 10px; color: var(--danger); font-size: 13px; }
.vt-dialog--zoom { width: min(720px, calc(100vw - 16px)); }
.vt-zoombox { padding: 16px; }
.vt-zoombox__img { overflow: auto; max-height: 70vh; background: var(--surface); border: 1px solid var(--line); touch-action: pinch-zoom pan-x pan-y; }
.vt-zoombox__img .vt-art { display: block; width: 180%; height: auto; aspect-ratio: 1; }
.vt-zoombox__hint { margin: 10px 0; font-size: 13px; color: var(--muted); }

/* ---------- 3. 동시 품절 ---------- */
.vt-sync { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; }
.vt-phone__frame { border: 1px solid var(--text); border-radius: 0; padding: 18px 16px 20px; background: var(--surface); outline: 8px solid var(--surface-2); outline-offset: 0; display: grid; gap: 12px; }
.vt-phone__bar { font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.vt-phone__bar small { font-weight: 400; font-size: 11px; color: var(--muted); }
.vt-phone__list { display: grid; gap: 8px; }
.vt-prow { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); background: #fff; }
.vt-prow__img { display: block; width: 52px; height: 52px; background: var(--bg); }
.vt-prow__img .vt-art { width: 100%; height: 100%; }
.vt-prow__txt { display: grid; font-size: 13px; line-height: 1.4; min-width: 0; }
.vt-prow__txt strong { font-family: var(--en); letter-spacing: .12em; font-size: 11px; font-weight: 500; }
.vt-prow__txt small { color: var(--muted); font-size: 11px; }
.vt-prow__stock { font-size: 13px; white-space: nowrap; }
.vt-prow__stock b { font-family: var(--en); font-size: 18px; font-weight: 500; }
.vt-prow__stock.is-zero { color: var(--danger); }
.vt-phone__note { font-size: 13px; color: var(--muted); }

.vt-seg-toggle { display: inline-flex; border: 1px solid var(--text); margin-bottom: 16px; }
.vt-segbtn { min-height: 44px; padding: 0 18px; border: 0; background: var(--surface); cursor: pointer; font-size: 15px; }
.vt-segbtn + .vt-segbtn { border-left: 1px solid var(--text); }
.vt-segbtn.is-on { background: var(--text); color: var(--surface); }
.vt-mall3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vt-mallcol { display: grid; gap: 16px; align-content: start; min-width: 0; }
.vt-mallcol__head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; border-bottom: 1px solid var(--text); padding-bottom: 6px; font-size: 13px; }
.vt-mallcol__head span { font-family: var(--en); color: var(--muted); letter-spacing: .06em; font-size: 12px; }
.vt-mcard { display: grid; gap: 4px; min-width: 0; }
.vt-mcard__name { font-size: 13px; line-height: 1.45; min-height: 2.9em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.vt-mall3 .vt-card__img { aspect-ratio: 1; }
.vt-mallcol[lang="en"] .vt-mcard__name { font-family: var(--en); }
.vt-mcard__price { font-family: var(--en); font-size: 15px; min-height: 1.5em; font-variant-numeric: tabular-nums; }
.vt-mcard.is-sold .vt-art { opacity: .45; }
.vt-mcard__spec { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; color: var(--muted); }
.vt-mcard__btn { display: flex; align-items: center; justify-content: center; min-height: 36px; border: 1px solid var(--text); font-size: 12px; text-align: center; padding: 2px 6px; }
.vt-mcard__btn--buy { background: var(--text); color: var(--surface); }
.vt-memo { margin-top: 40px; padding: 14px 16px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; }

/* ---------- 4. 오픈 일정 ---------- */
.vt-design { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.vt-design__cap { font-size: 13px; font-weight: 600; margin-right: 4px; }
.vt-design .vt-chip { min-height: 44px; }
.vt-design__status { flex-basis: 100%; margin-top: 6px; padding: 10px 14px; border-left: 3px solid var(--ok); background: var(--surface); font-size: 13px; }
.vt-design__status.is-warn { border-left-color: var(--warn); background: var(--warn-soft); }

.vt-gantt { --label: 240px; position: relative; border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); background: var(--surface); }
.vt-gantt__scale, .vt-grow { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); }
.vt-gantt__scale { height: 34px; border-bottom: 1px solid var(--line); }
.vt-gantt__label { padding: 8px 12px 8px 0; font-size: 13px; display: grid; line-height: 1.35; }
.vt-gantt__label small { font-family: var(--en); color: var(--muted); font-size: 11px; }
.vt-gantt__track { position: relative; min-height: 44px; }
.vt-tick { position: absolute; top: 8px; font-family: var(--en); font-size: 11px; color: var(--muted); padding-left: 4px; border-left: 1px solid var(--line-strong); line-height: 18px; white-space: nowrap; }
.vt-tick:last-child { transform: translateX(-100%); padding: 0 4px 0 0; border-left: 0; border-right: 1px solid var(--line-strong); }
.vt-gantt__group { padding: 14px 0 4px; font-size: 12px; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); }
.vt-gantt__scale + .vt-gantt__over + .vt-gantt__group { border-top: 0; }
.vt-gantt__over { position: absolute; top: 0; bottom: 0; left: var(--label); right: 0; pointer-events: none; z-index: 1; }
.vt-hol { position: absolute; top: 34px; bottom: 0; background: repeating-linear-gradient(135deg, rgba(36, 28, 26, .12) 0 2px, transparent 2px 5px); }
.vt-openline { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid var(--danger); }
.vt-designline { position: absolute; top: 34px; bottom: 0; width: 0; border-left: 2px dashed var(--accent); }
.vt-bar { position: absolute; top: 12px; height: 20px; display: flex; background: var(--accent); z-index: 2; }
.vt-bar--pre { background: var(--ok); }
.vt-bar--post { background: var(--accent); }
.vt-bar--end { background: var(--text); }
.vt-bar--wait { background: repeating-linear-gradient(90deg, var(--warn) 0 6px, transparent 6px 10px); height: 4px; top: 20px; }
.vt-bar--open { background: var(--danger); min-width: 6px; }
.vt-bar__part { height: 100%; border-right: 2px solid var(--surface); }
.vt-bar__part:last-child { border-right: 0; }
.vt-bar__part:nth-child(2) { background: rgba(255, 255, 255, .22); }
.vt-bar__part:nth-child(3) { background: rgba(255, 255, 255, .42); }
.vt-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.vt-legend li { display: flex; align-items: center; gap: 6px; }
.vt-legend__sw { display: inline-block; width: 14px; height: 14px; }
.vt-legend__sw--hol { background: repeating-linear-gradient(135deg, rgba(36, 28, 26, .35) 0 2px, transparent 2px 5px); border: 1px solid var(--line-strong); }
.vt-legend__sw--design { border-left: 2px dashed var(--accent); width: 2px; }
.vt-legend__sw--open { border-left: 2px solid var(--danger); width: 2px; }

.vt-order { margin-top: 56px; }
.vt-order__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.vt-order__list li { display: grid; grid-template-columns: 32px 1fr; gap: 2px 10px; padding: 14px; border: 1px solid var(--line); background: var(--surface); }
.vt-order__no { grid-row: span 2; font-family: var(--en); font-size: 28px; line-height: 1; color: var(--accent); }
.vt-order__date { font-family: var(--en); font-size: 13px; color: var(--muted); }

.vt-checks { margin-top: 56px; }
.vt-checks__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.vt-checks__progress { font-family: var(--en); font-size: 15px; font-variant-numeric: tabular-nums; }
.vt-ctable { width: 100%; max-width: 640px; border-collapse: collapse; margin-top: 12px; background: var(--surface); }
.vt-ctable th, .vt-ctable td { padding: 0 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; height: 48px; }
.vt-ctable thead th { font-size: 13px; color: var(--muted); font-weight: 500; height: 36px; }
.vt-ctable td, .vt-ctable thead th:not(:first-child) { width: 96px; text-align: center; }
.vt-ctable tbody th { font-weight: 400; }
.vt-check { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; }
.vt-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ok); }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 1080px) {
  .vt-head__inner { grid-template-columns: 1fr auto; }
  .vt-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
}

@media (max-width: 899px) {
  .vt { --pad: 16px; --gap: 48px; }
  .vt-band__long { display: none; }
  .vt-head__inner { gap: 8px 12px; padding-top: 12px; padding-bottom: 0; }
  .vt-brand__en { font-size: 15px; letter-spacing: .22em; }
  .vt-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 calc(var(--pad) * -1); border-top: 1px solid var(--line); }
  .vt-nav__item { justify-content: center; padding: 0 4px; font-size: 13px; }
  .vt-wrap { padding-top: 28px; }
  .vt-h1 { font-size: 24px; }
  .vt-intro { margin-bottom: 24px; }

  .vt-result { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-stat { padding: 14px 16px; }
  .vt-stat:nth-child(2) { border-right: 0; }
  .vt-stat:nth-child(1), .vt-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .vt-stat__num { font-size: 40px; }
  .vt-reasons { display: grid; gap: 2px; padding: 10px 16px; }
  .vt-reasons li { display: flex; justify-content: space-between; gap: 8px; }

  .vt-refine { grid-template-columns: minmax(0, 1fr); grid-template-areas: "rep" "panel" "list" "moves"; gap: 16px; margin-top: 20px; }
  .vt-rep, .vt-panel { padding: 16px; }
  .vt-rep__raw { font-size: 15px; line-height: 2.5; }
  .vt-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-box:last-child { grid-column: 1 / -1; }
  .vt-list, .vt-moves { margin-top: 32px; }

  .vt-table, .vt-table tbody { display: block; background: none; }
  .vt-table thead { display: none; }
  .vt-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; padding: 12px; margin-top: 10px; border: 1px solid var(--line); background: var(--surface); }
  .vt-table td { display: grid; gap: 0; padding: 0; border: 0; white-space: normal; }
  .vt-table td::before { content: attr(data-label); font-size: 11px; color: var(--muted); }
  .vt-table td.vt-row__raw, .vt-table td.vt-row__st { grid-column: 1 / -1; width: auto; }
  .vt-table td.vt-row__raw::before { content: none; }
  .vt-table td.vt-row__st::before { content: none; }
  .vt-table td.vt-empty { grid-column: 1 / -1; }
  .vt-table td.vt-empty::before { content: none; }
  .vt-row.is-sel { border-color: var(--accent); background: #fff; }
  .vt-row.is-sel td { background: none; }
  .vt-row.is-sel .vt-row__raw { box-shadow: none; }
  .vt-row__pick { font-size: 15px; min-height: 44px; }
  .vt-row__st { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
  .vt-row__why { display: inline; margin-top: 0; }
  .vt-mtable th, .vt-mtable td { display: block; border: 0; padding: 0; }
  .vt-mtable tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .vt-mtable td { margin-top: 4px; font-size: 13px; }

  .vt-intro--shop { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .vt-malltabs:not(.vt-malltabs--sm) { width: 100%; }
  .vt-malltabs:not(.vt-malltabs--sm) .vt-malltab { flex: 1; padding: 0 8px; justify-content: center; flex-direction: column; gap: 0; line-height: 1.25; }
  .vt-cats { gap: 0 16px; margin-top: 20px; }
  .vt-cat { font-size: 13px; }
  .vt-shop { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "filters" "catalog"; gap: 16px; }
  .vt-shop__bar { flex-wrap: wrap; }
  .vt-search { flex-basis: 100%; max-width: none; }
  .vt-shop__ftoggle { display: inline-flex; }
  .vt-filters { display: none; padding: 16px; border: 1px solid var(--line); background: var(--surface); gap: 18px; }
  .vt-filters.is-open { display: grid; }
  .vt-fgroup--size .vt-opt { display: inline-flex; width: calc(50% - 4px); }
  .vt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }

  .vt-item { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .vt-item__name, .vt-item__price { font-size: 24px; }
  .vt-sold--lg { font-size: 22px; }

  .vt-sync { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .vt-phone { max-width: 360px; }
  .vt-mall3 { gap: 8px; }
  .vt-mallcol { gap: 12px; }
  .vt-mallcol__head { flex-direction: column; gap: 0; }
  .vt-mcard__name { font-size: 12px; min-height: 4.35em; -webkit-line-clamp: 3; }
  .vt-mall3 .vt-card__img { aspect-ratio: 4 / 5; }
  .vt-design__cap { flex-basis: 100%; }
  .vt-design .vt-chip { padding: 0 12px; }
  .vt-mcard__price { font-size: 13px; }
  .vt-mall3 .vt-sold { font-size: 11px; padding: 2px 5px; letter-spacing: .08em; }
  .vt-mcard__btn { font-size: 11px; min-height: 32px; }
  .vt-mcard__spec { font-size: 11px; }

  .vt-gantt { --label: 116px; }
  .vt-gantt__label { font-size: 12px; padding-right: 8px; }
  .vt-tick { font-size: 10px; padding-left: 2px; }
  .vt-tick:nth-child(even) { display: none; }
  .vt-order__list { grid-template-columns: minmax(0, 1fr); }
  .vt-ctable th, .vt-ctable td { padding: 0 8px; font-size: 13px; }
  .vt-ctable td, .vt-ctable thead th:not(:first-child) { width: 64px; }

  .vt-map li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .vt-dialog__body { padding: 18px; }
}
