/* 대흥업소용가구 여러 페이지 구성 (2026-10-13, Sundayable). shop.css 다음에 읽습니다.
   홈(v4)과 같은 색·글꼴: 청록 #56b9b2, 토프 #6f6659, 베이지 #bfb39a, 먹 #2a2a2a, Black Han Sans 제목, Pretendard 본문.
   build_site.py가 만드는 카테고리·상품·질문·납품·회사 소개·오시는 길·매입 페이지에서만 사용합니다. */

main span.todo, .todo { display: inline-block; font-size: 12.5px; line-height: 1.5; font-weight: 600; border: 1px dashed #b88a00; border-radius: 6px; padding: 0 8px; color: #8a6500; background: #fff8d6; vertical-align: 1px; }
.visit span.todo { background: transparent; color: var(--kakao); border-color: var(--kakao); }

/* 현재 위치 */
.crumb { padding: 14px 0 0; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13.5px; color: var(--mut); }
.crumb li + li::before { content: "›"; margin: 0 8px; color: var(--sand); }
.crumb a { display: inline-block; padding: 8px 0; margin: -8px 0; }
.crumb a:hover { text-decoration: underline; }
.crumb [aria-current] { color: var(--ink); font-weight: 600; }

/* 페이지 머리 */
.phead { padding: 14px 0 22px; display: grid; gap: 12px; }
.phead h1 { font-family: "Black Han Sans", var(--sans); font-weight: 400; font-size: clamp(30px, 6.6vw, 46px); line-height: 1.15; letter-spacing: -0.01em; }
.phead .lead { font-size: 16.5px; max-width: 44em; line-height: 1.7; }
.phead .lead b { color: var(--teal-ink); }
.phead .asof { font-size: 13px; color: var(--mut); }
.sec { padding: 26px 0 8px; }
.sec + .sec { border-top: 8px solid var(--sand-soft); }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-h h2 { font-family: "Black Han Sans", var(--sans); font-weight: 400; font-size: clamp(21px, 4.6vw, 28px); letter-spacing: -0.01em; }
.sec-h p { font-size: 14.5px; color: var(--mut); margin-top: 4px; }
.sec-h .all { flex: none; font-weight: 800; font-size: 14.5px; color: var(--teal-ink); white-space: nowrap; display: inline-block; padding: 11px 0; margin: -11px 0; }
.prose { display: grid; gap: 10px; max-width: 46em; font-size: 16px; line-height: 1.75; }
.prose a { color: var(--teal-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 고르기 칩 */
.fchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.fchips button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; font-size: 14.5px; cursor: pointer; }
.fchips button[aria-pressed="true"] { border-color: var(--teal-ink); background: var(--teal-soft); color: var(--teal-ink); }
.fchips button span { font-weight: 600; color: var(--mut); margin-left: 4px; font-size: 13px; }
.fchips button[aria-pressed="true"] span { color: var(--teal-ink); }
.fcount { font-size: 13.5px; color: var(--mut); margin: -8px 0 14px; }
.item[hidden] { display: none; }
.item .code { font-size: 12.5px; color: var(--mut); font-variant-numeric: tabular-nums; }
.empty-note { padding: 18px 0; color: var(--mut); }

/* 종류 입구 (로스타 종류, 하위 분류) */
.doors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 4px 0 6px; }
.doors a { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r); background: var(--sand-soft); border: 1px solid var(--line); }
.doors a:hover { border-color: var(--teal); }
.doors b { font-size: 16.5px; font-weight: 800; }
.doors span { font-size: 13.5px; color: var(--mut); }
.doors a[aria-current] { background: var(--teal-soft); border-color: var(--teal-ink); }

/* 설명 + 사진 */
.split { display: grid; gap: 16px; align-items: start; }
.split figure { margin: 0; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.split figcaption { font-size: 13px; color: var(--mut); margin-top: 6px; }

/* 질문 목록 */
.qlist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.qlist li { border-bottom: 1px solid var(--line); }
.qlist a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 2px; font-weight: 700; font-size: 16px; }
.qlist a::after { content: "›"; color: var(--mut); font-size: 22px; line-height: 1; flex: none; }
.qlist a:hover { color: var(--teal-ink); }
.qlist small { display: block; font-weight: 500; font-size: 13.5px; color: var(--mut); margin-top: 2px; }

/* 문의 한 곳 */
.cta { margin: 34px 0 6px; background: var(--ink); color: #f1ece2; border-radius: 18px; padding: 24px 20px; display: grid; gap: 12px; }
.cta h2 { font-family: "Black Han Sans", var(--sans); font-weight: 400; font-size: clamp(22px, 4.8vw, 30px); color: #fff; }
.cta p { color: #d8d0c0; font-size: 15.5px; }
.cta .acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cta .tel { color: #fff; font-weight: 800; display: inline-block; padding: 12px 6px; }

/* 상품 상세 */
.pd { display: grid; gap: 22px; padding-bottom: 8px; }
.pd .shot { margin: 0; position: relative; aspect-ratio: 1; background: var(--sand-soft); border-radius: 18px; overflow: hidden; }
.pd .shot img { width: 100%; height: 100%; object-fit: contain; padding: 5%; mix-blend-mode: multiply; }
.pd .shot .flag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 7px; font-size: 13.5px; font-weight: 800; }
.pd .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.pd .thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--sand-soft); overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.pd .thumbs button[aria-pressed="true"] { border-color: var(--teal-ink); }
.pd .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd .shot-count { position: absolute; right: 12px; bottom: 10px; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 6px; }
.buy { display: grid; gap: 14px; align-content: start; }
.buy .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.buy .tag { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 6px; font-size: 13px; font-weight: 800; background: var(--sand-soft); }
.buy .tag.new { background: var(--teal); }
.buy .tag.used { background: var(--taupe); color: #fff; }
.buy h1 { font-size: clamp(23px, 5.2vw, 31px); font-weight: 900; line-height: 1.3; letter-spacing: -0.02em; }
.buy h1 .for { font-weight: 600; color: var(--mut); font-size: .72em; }
.buy .code-line { font-size: 13.5px; color: var(--mut); }
.buy .code-line b { color: var(--ink); font-weight: 700; }
.spec3 { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.spec3 div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec3 dt { font-size: 14px; color: var(--mut); font-weight: 700; }
.spec3 dd { margin: 0; font-size: 15px; line-height: 1.6; }
.price-note { font-size: 14.5px; color: var(--taupe); font-weight: 700; }
.qtyrow { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; }
.qtyrow .stepper { grid-template-columns: 44px 60px 44px; }
.qtyrow .add { min-height: 48px; font-size: 15.5px; }
.buy .btn.kakao { width: 100%; }
.buy .note { font-size: 13.5px; color: var(--mut); }
.buy .note a { font-weight: 800; color: var(--ink); }
.blk { padding: 24px 0 4px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.blk h2 { font-size: 20px; font-weight: 900; }
.blk p, .blk li { font-size: 15.5px; line-height: 1.7; }
.blk ul.dots { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.opts { display: grid; gap: 12px; }
.opts h3 { font-size: 15px; font-weight: 800; }
.opts ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.opts li { font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: var(--white); }
.tbl-wrap { overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 300px; }
table.tbl caption { text-align: left; font-size: 13.5px; color: var(--mut); padding-bottom: 8px; }
table.tbl th, table.tbl td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); line-height: 1.55; }
table.tbl thead th { border-bottom: 2px solid var(--ink); font-size: 13.5px; color: var(--mut); }
table.tbl tbody th { font-weight: 700; width: 34%; }
table.tbl small { display: block; color: var(--mut); font-weight: 400; font-size: 12.5px; }

/* 질문 글 */
.art { max-width: 780px; display: grid; gap: 6px; padding-bottom: 10px; }
.art .upd { font-size: 13.5px; color: var(--mut); }
.art h1.gq { font-family: "Black Han Sans", var(--sans); font-weight: 400; font-size: clamp(28px, 6.2vw, 42px); line-height: 1.18; letter-spacing: -0.01em; padding-top: 4px; }
.answer { margin: 6px 0 4px; background: var(--teal-soft); border-left: 5px solid var(--teal-ink); border-radius: 0 14px 14px 0; padding: 16px 18px; }
.answer .lbl { font-size: 13px; font-weight: 800; color: var(--teal-ink); }
.answer p { font-size: 17.5px; font-weight: 700; line-height: 1.65; margin-top: 4px; }
.art section { padding: 20px 0 6px; display: grid; gap: 10px; }
.art h2 { font-size: clamp(19px, 4.4vw, 23px); font-weight: 900; line-height: 1.35; }
.art p, .art li { font-size: 16px; line-height: 1.8; }
.art ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.checks { margin-top: 10px; padding: 14px 16px; border: 1px dashed #b88a00; border-radius: 12px; background: #fffbea; display: grid; gap: 8px; }
.checks h2 { font-size: 15.5px; }
.checks ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checks li { font-size: 14.5px; line-height: 1.6; }
.sources ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.sources li { font-size: 14.5px; line-height: 1.6; overflow-wrap: anywhere; }
.sources a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 4px 0; }
.review-line { font-size: 14px; color: var(--taupe); font-weight: 700; padding-top: 12px; }
.gcat { padding-top: 20px; }
.gcat h2 { font-size: 18px; font-weight: 900; margin-bottom: 8px; color: var(--taupe); }

/* 납품 현장 */
.dlist { display: grid; grid-template-columns: 1fr; gap: 18px; }
.dlist a { display: grid; gap: 8px; }
.dlist img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.dlist b { font-size: 17px; font-weight: 800; }
.dlist span { font-size: 14px; color: var(--mut); }
.photos { display: grid; grid-template-columns: 1fr; gap: 12px; }
.photos figure { margin: 0; }
.photos img { width: 100%; height: auto; border-radius: var(--r); background: var(--sand-soft); }
.photos figcaption { font-size: 13px; color: var(--mut); margin-top: 6px; }
.facts-line { font-size: 15.5px; font-weight: 600; }
.facts-line .sep { color: var(--sand); margin: 0 6px; }

/* 회사 소개 · 오시는 길 */
.define { font-size: 18px; font-weight: 700; line-height: 1.7; max-width: 40em; }
.kv { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); max-width: 760px; }
.kv div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--mut); font-weight: 700; font-size: 14.5px; }
.kv dd { margin: 0; font-size: 15.5px; line-height: 1.6; }
.kv dd a { font-weight: 800; }
.maps { display: flex; flex-wrap: wrap; gap: 8px; }
.links-row { display: flex; flex-wrap: wrap; gap: 8px; }
.links-row a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14.5px; background: var(--white); }
.links-row a:hover { border-color: var(--teal); }

/* 폐업·매입 */
.sellhead { background: var(--taupe); color: #fbf8f2; }
.sellhead .wrap { display: grid; gap: 26px; padding-top: 18px; padding-bottom: 34px; }
.sellhead .crumb ol { color: #e7dfcf; }
.sellhead .crumb [aria-current] { color: #fff; }
.sellhead .crumb li + li::before { color: #cfc5b1; }
.sellhead .eyebrow { font-weight: 800; font-size: 14.5px; color: #ece3cf; }
.sellhead h1 { font-family: "Black Han Sans", var(--sans); font-weight: 400; font-size: clamp(34px, 8.4vw, 58px); line-height: 1.12; margin-top: 8px; }
.sellhead .lead { font-size: 17px; max-width: 32em; margin-top: 12px; }
.sellhead .also { font-size: 15px; color: #f0e9da; margin-top: 10px; }
.sellhead .acts { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.buylist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.buylist li { background: rgba(255,255,255,.1); border-radius: 14px; padding: 12px; display: grid; justify-items: center; text-align: center; gap: 4px; }
.buylist .ph { width: 100%; max-width: 130px; aspect-ratio: 1; border-radius: 50%; background: #fbf8f2; display: grid; place-items: center; }
.buylist .ph img { width: 76%; mix-blend-mode: multiply; }
.buylist b { font-size: 16px; }
.buylist span { font-size: 13.5px; color: #e4dccb; }
.sellhead .stock { font-size: 13.5px; color: #e4dccb; border-top: 1px solid rgba(255,255,255,.25); padding-top: 12px; margin-top: 12px; }
.inq-grid { display: grid; gap: 22px; }
.inq { background: var(--sand-soft); border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px 24px; display: grid; gap: 24px; }
.inq fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.inq legend { padding: 0; margin-bottom: 12px; font-family: "Black Han Sans", var(--sans); font-size: 22px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 800; font-size: 16px; display: flex; align-items: baseline; gap: 8px; }
.field label i { font-style: normal; flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--taupe); color: #fff; font-size: 13px; }
.field .opt { font-weight: 500; color: var(--mut); font-size: 14px; }
.field .hint { font-size: 14px; color: var(--mut); }
.field.two { grid-template-columns: 1fr; gap: 18px; }
.field.two > div { display: grid; gap: 6px; min-width: 0; }
.inq input[type="text"], .inq input[type="tel"], .inq textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; }
.inq textarea { resize: vertical; min-height: 80px; }
.inq input:focus, .inq textarea:focus { border-color: var(--teal-ink); }
.drop { display: grid; gap: 10px; padding: 14px; border: 1.5px dashed var(--sand); border-radius: 12px; background: #fff; }
.drop .file { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pick-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.drop .pick { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
.drop .pick svg { width: 20px; height: 20px; }
.drop .count { font-size: 14px; color: var(--mut); }
.pthumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.pthumbs:empty { display: none; }
.pthumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.inq .send { width: 100%; }
.inq .snote { padding: 14px 16px; border-left: 4px solid var(--teal); background: #fff; font-weight: 600; }
.inq .privacy { font-size: 13.5px; color: var(--mut); margin-top: -8px; }
.alt { background: var(--ink); color: #efedea; border-radius: 16px; padding: 22px 20px; display: grid; gap: 12px; align-content: start; }
.alt h2 { font-family: "Black Han Sans", var(--sans); font-weight: 400; font-size: 23px; color: #fff; }
.alt p { font-size: 15px; color: #d6cfc0; }
.alt .tel a { color: #fff; font-weight: 800; display: inline-block; padding: 10px 0; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: f; }
.flow li { counter-increment: f; background: var(--sand-soft); border-radius: var(--r); padding: 16px 16px 16px 60px; position: relative; display: grid; gap: 4px; }
.flow li::before { content: counter(f); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--taupe); color: #fff; font-weight: 900; display: grid; place-items: center; }
.flow b { font-size: 16.5px; }
.flow span { font-size: 14.5px; color: var(--mut); }
.flow .todo { justify-self: start; }

/* 검색 */
.sbox { display: flex; gap: 8px; max-width: 640px; }
.sbox input { flex: 1; min-width: 0; height: 50px; border: 2px solid var(--teal); border-radius: 12px; padding: 0 16px; font: inherit; font-size: 16px; }
.sbox button { height: 50px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--teal); font-weight: 800; font-size: 16px; cursor: pointer; }

/* 메뉴 열기 (모바일 메뉴 버튼) */
.mnav { border-top: 1px solid var(--line); background: var(--white); }
.mnav[hidden] { display: none; }

@media (min-width: 720px) {
  .doors { grid-template-columns: repeat(3, 1fr); }
  .dlist { grid-template-columns: repeat(2, 1fr); }
  .photos { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.5fr 1fr; gap: 32px; }
  .split img { aspect-ratio: 16 / 10; }
  .field.two { grid-template-columns: 1fr 1fr; }
  .buylist { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .phead { padding: 18px 0 26px; }
  .doors { grid-template-columns: repeat(6, 1fr); }
  .doors.four { grid-template-columns: repeat(4, 1fr); }
  .doors.five { grid-template-columns: repeat(5, 1fr); }
  .dlist { grid-template-columns: repeat(3, 1fr); }
  .photos { grid-template-columns: repeat(3, 1fr); }
  .pd { grid-template-columns: 1fr 1fr; column-gap: 48px; padding-top: 6px; }
  .pd .gallery { position: sticky; top: 150px; align-self: start; }
  .pd-body { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .pd-body > .wide { grid-column: 1 / -1; }
  .cta { grid-template-columns: 1fr auto; align-items: center; padding: 28px 32px; }
  .cta .txt { display: grid; gap: 8px; }
  .sellhead .wrap { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 22px; padding-bottom: 52px; }
  .sellhead .crumb { grid-column: 1 / -1; }
  .inq-grid { grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
  .alt { position: sticky; top: 150px; }
  .flow { grid-template-columns: repeat(4, 1fr); }
}
