/* 팩킹 — 흰 바탕, 잉크 글자, 크라프트 박스 색 한 가지. 크기는 모두 rem 이라 글자 크기 단추를 따라 함께 커진다. */
:root {
  --paper: #fff;
  --ink: #1b2430;
  --ink-2: #4c5764;
  --ink-3: #6b7683;
  --line: #e4e7eb;
  --line-2: #c9cfd6;
  --wash: #f6f7f9;
  --kraft: #c28e4e;
  --kraft-deep: #7a5120;
  --kraft-tint: #faf3e7;
  --action: #0f5bd8;
  --action-deep: #0b46a8;
  --action-tint: #edf3fe;
  --warn: #8f5500;
  --warn-tint: #fff5e2;
  --bad: #b42318;
  --good: #0a6f45;
  --good-tint: #e7f5ee;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 1rem; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere;
}
a { color: var(--action); text-underline-offset: .15em; }
a:hover { color: var(--action-deep); }
h1, h2, h3, p { margin: 0; }
small { font-size: .8125rem; }
table { border-collapse: collapse; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; padding: .5rem 1rem; background: var(--ink); color: #fff; z-index: 10; }
.skip:focus { left: 0; }
.nowrap { white-space: nowrap; }
.muted { color: var(--ink-3); }
.wrap { width: 100%; max-width: 92rem; margin: 0 auto; padding-inline: 1.5rem; }

/* 머리 */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 1.9rem; height: 1.9rem; flex: none; }
.lm-top { fill: #e2be8a; } .lm-l { fill: #cfa164; } .lm-r { fill: #b98848; } .lm-t { fill: #f4e6cc; }
.main-nav { display: flex; gap: 1.75rem; flex: 1; align-self: stretch; }
.main-nav a { display: flex; align-items: center; color: var(--ink-2); font-weight: 600; font-size: 1.0625rem; text-decoration: none; border-bottom: 3px solid transparent; border-top: 3px solid transparent; white-space: nowrap; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.on { color: var(--ink); font-weight: 800; border-bottom-color: var(--kraft); }
.fontbox { display: inline-flex; border: 1px solid var(--line-2); border-radius: .5rem; overflow: hidden; flex: none; }
.fontbox button { background: var(--paper); border: 0; min-width: 2.5rem; height: 2.5rem; cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 .35rem; }
.fontbox button + button { border-left: 1px solid var(--line-2); }
.fontbox button:hover { background: var(--wash); }
.fontbox button:disabled { color: var(--line-2); cursor: default; background: var(--paper); }
.fontbox .f-s { font-size: .8125rem; } .fontbox .f-l { font-size: 1.1875rem; }
.fontbox .f-now { font-size: .8125rem; font-weight: 600; color: var(--ink-2); min-width: 3.25rem; font-variant-numeric: tabular-nums; }
.sub-bar { border-top: 1px solid var(--line); background: var(--wash); }
.sub-nav { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.sub-nav a { padding: .65rem .85rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; font-weight: 600; font-size: .9375rem; }
.sub-nav a:first-child { margin-left: -.85rem; }
.sub-nav a:hover { color: var(--ink); }
.sub-nav a.on { color: var(--ink); font-weight: 800; }

/* 찾기 */
.finder { border-bottom: 1px solid var(--line); container-type: inline-size; }
.finder-grid { display: grid; grid-template-columns: minmax(14rem, 19rem) minmax(0, 1fr); gap: 2.25rem; padding-block: 1.5rem 1.25rem; align-items: start; }
#boxArt { display: block; width: 100%; height: auto; }
.finder-main h1 { font-size: 1.75rem; line-height: 1.25; font-weight: 800; letter-spacing: -.03em; }
.finder-lead { margin-top: .4rem; color: var(--ink-2); max-width: 44rem; }
.mode { display: inline-flex; margin-top: .9rem; border: 1px solid var(--line-2); border-radius: .5rem; padding: .2rem; background: var(--wash); max-width: 100%; }
.mode label { cursor: pointer; }
.mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode span { display: block; padding: .45rem 1rem; border-radius: .35rem; font-weight: 600; color: var(--ink-2); font-size: .9375rem; }
.mode input:checked + span { background: var(--paper); color: var(--ink); font-weight: 800; box-shadow: 0 0 0 1px var(--line-2); }
.mode input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 1px; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 8.5rem)) minmax(0, 9.5rem) auto; gap: .65rem; margin-top: .9rem; align-items: end; }
.dim { display: block; }
.dim-l { display: block; font-size: .875rem; font-weight: 700; color: var(--ink-2); margin-bottom: .3rem; }
.dim-box { display: flex; align-items: baseline; gap: .3rem; border: 1.5px solid var(--line-2); border-radius: .5rem; padding: .45rem .7rem; background: var(--paper); }
.dim-box:focus-within { border-color: var(--action); box-shadow: 0 0 0 3px var(--action-tint); }
.dim-box input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; padding: 0; line-height: 1.3; }
.dim-box input::placeholder { color: var(--line-2); font-weight: 500; }
.dim-box em { font-style: normal; font-size: .8125rem; color: var(--ink-3); }
.dim-qty { margin-left: .65rem; }
.dim-opts { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.25rem; margin-top: .75rem; font-size: .9375rem; color: var(--ink-2); }
.dim-opts > label { display: inline-flex; align-items: center; gap: .5rem; }
.fit-note { flex-basis: 100%; font-size: .875rem; color: var(--ink-3); max-width: 44rem; }
select, input[type=search], input[type=text], textarea { border: 1px solid var(--line-2); border-radius: .4rem; background: var(--paper); padding: .35rem .55rem; }
.dim-box input[type=text] { border: 0; padding: 0; background: transparent; }
select { padding-right: 1.5rem; }
.check { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--action); margin: 0; flex: none; }
.finder[data-mode=fit] .only-size, form[data-mode=fit] .only-size { display: none !important; }
form:not([data-mode=fit]) .only-fit { display: none !important; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.quick-l { font-size: .875rem; color: var(--ink-3); margin-right: .35rem; }
.chip { border: 1px solid var(--line-2); background: var(--paper); border-radius: .4rem; padding: .25rem .65rem; font-size: .875rem; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--kraft); background: var(--kraft-tint); }
.filters { margin-top: .75rem; border-top: 1px solid var(--line); padding-top: .65rem; }
.filters > summary, .seller-pick > summary { cursor: pointer; font-weight: 700; font-size: .9375rem; color: var(--ink); width: fit-content; }
.count { display: inline-block; min-width: 1.35rem; padding: 0 .35rem; text-align: center; border-radius: 1rem; background: var(--ink); color: #fff; font-size: .75rem; line-height: 1.35rem; }
.filter-body { margin-top: .85rem; display: grid; gap: .9rem; }
.flutes { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.flutes legend { float: left; padding: 0; margin-right: .75rem; font-size: .875rem; font-weight: 700; color: var(--ink-2); line-height: 2rem; }
.help { font-weight: 500; font-size: .8125rem; margin-left: .25rem; }
.chip-check { cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: block; border: 1px solid var(--line-2); border-radius: .4rem; padding: .2rem .65rem; font-size: .875rem; font-weight: 600; }
.chip-check input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 2px; }
.filter-row { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.filter-row label { display: inline-flex; flex-direction: column; gap: .2rem; font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.filter-row select, .filter-row input { font-weight: 400; color: var(--ink); font-size: .9375rem; min-width: 8rem; }
.seller-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .35rem 1rem; margin-top: .6rem; font-size: .9375rem; }
.seller-list small { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.filter-checks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9375rem; }
.finder-actions { display: flex; align-items: center; gap: .75rem; margin-left: .65rem; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: .5rem; padding: .5rem 1rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--wash); color: var(--ink); }
.btn-main { background: var(--ink); color: #fff; padding: .65rem 1.75rem; font-weight: 800; }
.btn-main:hover { background: #2f3b4a; color: #fff; }
.btn-quiet { background: none; border: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; padding: .25rem; font-size: .9375rem; }
.btn-quiet:hover { color: var(--ink); }

/* 결과 */
#results { padding-block: 1.5rem 3rem; container-type: inline-size; scroll-margin-top: .5rem; }
#results[aria-busy=true] { opacity: .45; transition: opacity .15s .1s; }
.res-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: .85rem; }
.res-count strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin-right: .5rem; }
.res-count span { color: var(--ink-2); font-size: .9375rem; }
.res-tools { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .9375rem; color: var(--ink-2); }
.res-tools label { display: inline-flex; align-items: center; gap: .4rem; }
.offers { width: 100%; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.offers th { position: sticky; top: 0; z-index: 1; background: var(--paper); border-bottom: 2px solid var(--ink); text-align: left; font-size: .8125rem; font-weight: 700; color: var(--ink-2); padding: .55rem .5rem; white-space: nowrap; vertical-align: bottom; }
.offers .num { text-align: right; }
.offers td { padding: .7rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.offers td small { display: block; color: var(--ink-3); font-size: .8125rem; line-height: 1.4; }
.th-sort { color: inherit; text-decoration: none; }
.th-sort:hover { color: var(--ink); text-decoration: underline; }
.th-sort.on { color: var(--ink); font-weight: 800; }
.th-sort.on::after { content: ""; display: inline-block; margin-left: .3em; border: .28em solid transparent; border-top-color: currentColor; transform: translateY(.1em); }
.row { cursor: pointer; }
.row:hover td { background: var(--wash); }
.row.same .size { color: var(--ink-3); font-weight: 600; }
.row:not(.same) td { border-top: 1px solid var(--line-2); }
.row.sold { color: var(--ink-3); }
.row.sold .unit { color: inherit; }
.size { font-weight: 800; font-size: 1rem; white-space: nowrap; letter-spacing: -.01em; }
.c-size { white-space: nowrap; }
.flute { font-weight: 700; white-space: nowrap; }
.c-seller { min-width: 8rem; max-width: 15rem; }
.c-seller b { font-weight: 700; }
.pname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 14rem; }
.c-pack, .c-price, .c-total { white-space: nowrap; }
.unit { font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }
.c-unit { white-space: nowrap; }
.c-total b { font-weight: 800; }
.c-ship { font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
.c-date { font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
.c-go { text-align: right; white-space: nowrap; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; line-height: 1.5; padding: 0 .35rem; border-radius: .2rem; background: var(--wash); color: var(--ink-2); margin-top: .2rem; white-space: nowrap; }
.tag-warn { background: var(--warn-tint); color: var(--warn); }
.tag-bad { background: #fdecea; color: var(--bad); }
.tag-best { background: var(--kraft); color: #fff; background: var(--kraft-deep); }
.offers .vat-unknown { color: var(--warn); font-weight: 600; }
.row.best .unit { color: var(--kraft-deep); }
.btn-go { display: inline-flex; align-items: center; gap: .3rem; background: var(--action); color: #fff; font-weight: 700; font-size: .875rem; border-radius: .4rem; padding: .4rem .7rem; text-decoration: none; white-space: nowrap; }
.btn-go:hover { background: var(--action-deep); color: #fff; }
.btn-go svg { width: .8em; height: .8em; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-small { padding: .25rem .55rem; font-size: .8125rem; }
.more { font-size: .8125rem; color: var(--ink-3); margin-right: .6rem; }
.res-note { margin-top: .85rem; font-size: .875rem; color: var(--ink-3); max-width: 60rem; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-top: 1.25rem; }
.pager-info { font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pager-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.pg { min-width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: .4rem; text-decoration: none; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; padding: 0 .5rem; }
.pg:hover { background: var(--wash); color: var(--ink); }
.pg.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 800; }
.pg-wide { padding: 0 .9rem; }
.pg-gap { padding: 0 .25rem; color: var(--ink-3); }
.empty { padding: 2.5rem 0; border-top: 2px solid var(--ink); }
.empty h2 { font-size: 1.25rem; font-weight: 800; }
.empty p { margin-top: .5rem; color: var(--ink-2); max-width: 44rem; }
.empty-acts { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1rem !important; }

/* 표 → 카드 : 화면이 좁아지거나 글자를 키우면 카드로 바뀐다 (rem 기준이라 글자 크기를 따라간다) */
@container (max-width: 74rem) {
  .offers { display: block; }
  .offers tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); column-gap: 2rem; }
  .offers thead { display: none; }
  .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: min-content; align-content: start; column-gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line-2); content-visibility: auto; contain-intrinsic-size: auto 17rem; }
  .offers td.num { text-align: left; }
  .row:hover td { background: none; }
  .offers td { display: block; padding: 0; border: 0 !important; text-align: left; white-space: normal; }
  .offers td[data-l]::before { content: attr(data-l); display: block; font-size: .8125rem; color: var(--ink-3); font-weight: 600; margin-bottom: .05rem; }
  .row .c-size { grid-column: 1 / -1; grid-row: 1; padding-right: 4.5rem; }
  .row .c-size small { display: block; }
  .row .size, .row.same .size { font-size: 1.1875rem; color: var(--ink); font-weight: 800; }
  .row .c-flute { grid-column: 2; grid-row: 1; justify-self: end; }
  .row .c-flute .flute { display: inline-block; border: 1px solid var(--line-2); border-radius: .25rem; padding: 0 .4rem; font-size: .875rem; }
  .row .c-seller { grid-column: 1 / -1; max-width: none; margin-top: .5rem; }
  .row .pname { white-space: normal; max-width: none; }
  .row .c-unit { grid-column: 1 / -1; margin-top: .6rem; padding-top: .6rem; border-top: 1px dashed var(--line) !important; }
  .row .c-unit .unit { font-size: 1.375rem; }
  .row .c-unit small { display: inline; margin-left: .35rem; }
  .row .c-unit .tag { margin-left: .35rem; }
  .row .c-pack, .row .c-price, .row .c-total, .row .c-ship, .row .c-date { margin-top: .6rem; }
  .row .c-total { grid-column: 1 / -1; }
  .row .c-total b { font-size: 1.125rem; }
  .row .c-total small { display: inline; margin-left: .35rem; }
  .row .c-go { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; margin-top: .85rem; }
  .row .btn-go { flex: 1; justify-content: center; padding: .65rem .75rem; font-size: .9375rem; }
  .row .more { margin: 0; padding: .5rem; }
}

/* 일반 페이지 */
.page { padding-block: 2rem 3.5rem; }
.page-mid { max-width: 56rem; }
.page-narrow { max-width: 40rem; padding-block: 3rem 4rem; }
.page h1 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.page h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2.25rem; }
.lead { margin-top: .5rem; color: var(--ink-2); max-width: 46rem; }
.lead-s { margin-top: .35rem; color: var(--ink-2); font-size: .9375rem; max-width: 46rem; }
.crumb { font-size: .875rem; margin-bottom: .5rem; }
.crumb a { color: var(--ink-2); }
.acts { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.acts .btn-go { font-size: 1rem; padding: .55rem 1rem; }
.note { margin-top: 1rem; padding: .65rem .85rem; border-radius: .4rem; font-size: .9375rem; }
.note-warn { background: var(--warn-tint); color: var(--warn); }
.note-ok { background: var(--good-tint); color: var(--good); }
.facts { margin: 1.5rem 0 0; border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-2); font-weight: 600; font-size: .9375rem; }
.facts dd { margin: 0; }
.plain { width: 100%; margin-top: 1rem; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.plain th { text-align: left; font-size: .8125rem; color: var(--ink-2); font-weight: 700; padding: .5rem .65rem; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.plain td { padding: .65rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.plain .num { text-align: right; }
.plain small { display: block; color: var(--ink-3); }
.c-act { text-align: right; white-space: nowrap; }
.small-table { max-width: 36rem; }
.list-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; margin-top: 1.25rem; }
.list-filter label { display: inline-flex; flex-direction: column; gap: .2rem; font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.list-filter select, .list-filter input { font-weight: 400; color: var(--ink); font-size: .9375rem; min-width: 10rem; }
.list-count { margin-left: auto; color: var(--ink-2); font-size: .9375rem; }
.guide p { margin-top: .6rem; max-width: 46rem; }
.report-form { display: grid; gap: .9rem; max-width: 34rem; margin-top: 1rem; }
.report-form label { display: grid; gap: .25rem; font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.report-form select, .report-form input, .report-form textarea { font-weight: 400; color: var(--ink); font-size: 1rem; width: 100%; }
.report-form .btn { width: fit-content; }
.hp { position: absolute; left: -9999px; }
.site-foot { border-top: 1px solid var(--line); background: var(--wash); color: var(--ink-2); font-size: .875rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem 2rem; }
.foot-row p { max-width: 46rem; }
.foot-links { display: flex; gap: 1rem; }
.foot-links a { color: var(--ink-2); }

/* 관리자 */
.admin-nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; font-weight: 600; }
.admin-nav a { color: var(--ink-2); text-decoration: none; }
.admin-nav a.on { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--kraft); text-decoration-thickness: 3px; }
.admin-table { width: 100%; font-size: .875rem; font-variant-numeric: tabular-nums; }
.admin-table th { text-align: left; border-bottom: 2px solid var(--ink); padding: .4rem .5rem; white-space: nowrap; font-size: .8125rem; color: var(--ink-2); }
.admin-table td { border-bottom: 1px solid var(--line); padding: .5rem; vertical-align: top; }
.admin-table .num { text-align: right; }
.st-applied { color: var(--good); font-weight: 700; }
.st-failed, .st-blocked_quality { color: var(--bad); font-weight: 700; }
.st-staged, .st-running { color: var(--warn); font-weight: 700; }
.inline-form { display: inline; }
.login-form { display: grid; gap: .85rem; max-width: 22rem; margin-top: 1.25rem; }
.login-form label { display: grid; gap: .25rem; font-weight: 700; font-size: .875rem; color: var(--ink-2); }
.login-form input { font-size: 1rem; font-weight: 400; color: var(--ink); width: 100%; }
.table-scroll { overflow-x: auto; }

/* 좁은 화면 */
@container (max-width: 76rem) {
  .finder-grid { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding-block: 1.25rem 1.25rem; }
  .finder-art { display: none; }
}
@container (max-width: 57rem) {
  .finder-main h1 { font-size: 1.5rem; }
  .dims { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .dim-qty { grid-column: 1 / -1; margin-left: 0; }
  .finder-actions { grid-column: 1 / -1; margin-left: 0; }
  .finder-actions .btn-main { flex: 1; }
  .dim-box { padding: .4rem .55rem; }
  .dim-box input { font-size: 1.25rem; }
  .mode { display: flex; }
  .mode label { flex: 1; text-align: center; }
  .mode span { padding: .45rem .35rem; font-size: .875rem; }
  .quick-l { flex-basis: 100%; }
}
@container (max-width: 24rem) {
  .dim-box em { display: none; }
  .dim[data-dim] .dim-l::after { content: " mm"; font-weight: 500; color: var(--ink-3); }
  .dim-qty .dim-l::after { content: " (장)"; font-weight: 500; color: var(--ink-3); }
}
@media (max-width: 52rem) {
  .head-row { flex-wrap: wrap; gap: .25rem 1rem; padding-block: .6rem 0; min-height: 0; }
  .logo { margin-right: auto; }
  .main-nav { order: 3; flex-basis: 100%; gap: 1.5rem; height: 2.75rem; }
  .wrap { padding-inline: 1rem; }
  .list-table thead { display: none; }
  .list-table, .list-table tbody, .list-table tr, .list-table td { display: block; }
  .list-table tr { padding: .85rem 0; border-bottom: 1px solid var(--line-2); }
  .list-table td { border: 0; padding: .1rem 0; text-align: left !important; white-space: normal; }
  .list-table td[data-l]:not(:first-child)::before { content: attr(data-l) "  "; color: var(--ink-3); font-size: .8125rem; margin-right: .35rem; }
  .list-table .c-act { margin-top: .5rem; }
  .facts > div { grid-template-columns: 7rem minmax(0, 1fr); gap: .75rem; }
  .list-count { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 26rem) { .fontbox .f-now { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
