/* 인포 굿즈(INFO GOODS) 고객 화면 — 2026-11-30 3차 재구성
   메인 흐름: 넓은 메인 이미지 → 카테고리 탐색·검색 → 실제 상품 → 소싱 문의(이용 안내 포함) → 푸터
   화이트·뉴트럴 바탕 + 짙은 글씨 + 브랜드 레드(#C9361D) 한 가지. 테두리 상자·둥근 카드·장식 효과 최소화.
   변수 이름은 관리자 화면(admin.css)과 공유 */
:root {
  --cream: #FFFFFF;
  --cream-deep: #F2F1EF;   /* 뉴트럴 면(이미지 바탕) */
  --bg-soft: #F7F6F4;      /* 구역 바탕 */
  --green: #141414;        /* (옛 이름) 제목 */
  --green-text: #141414;
  --red: #C9361D;          /* 브랜드 레드 */
  --red-btn: #C9361D;      /* 흰 글자 대비 5.3:1 */
  --red-btn-hover: #A82C17;
  --accent-soft: #FBEDEA;
  --ink: #141414;
  --ink-sub: #57534E;      /* 흰 바탕 대비 7.4:1 */
  --line: #E7E5E2;
  --field-line: #D6D3CF;
  --radius: 4px;           /* 사진 모서리 */
  --btn-radius: 6px;       /* 버튼·입력칸 모서리(알약 형태 사용 안 함) */
  --wrap: 1440px;          /* 콘텐츠 최대 너비(좌우 여백 포함) */
  --gutter: clamp(32px, 3.4vw, 48px);
  --header-h: 92px;        /* PC 헤더 88~96px 기준(모바일은 아래에서 68px) */
  --section: clamp(64px, 5.6vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red-btn); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 8px; }

.wrap { max-width: calc(var(--wrap) - var(--gutter) * 2); width: calc(100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section); }
.section.soft { background: var(--bg-soft); }
.m-br { display: none; }
.section-title { font-size: clamp(24px, calc(1vw + 16px), 32px); line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
.section-sub { margin-top: 8px; font-size: 16px; color: var(--ink-sub); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
h2 { font-size: clamp(22px, calc(.8vw + 15px), 28px); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }

/* ---------- Buttons ---------- */
.btn, .btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--btn-radius); border: 1px solid transparent;
  font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--red-btn); color: #fff; margin-top: 28px; }
.btn-primary:hover { background: var(--red-btn-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); transition: color .2s ease;
}
.text-link:hover { color: var(--red-btn); }

/* ---------- Header (PC 72px · 모바일 60px) ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
/* 로고: images/logo-infogoods.svg(글자를 도형 path로 그린 투명 배경 SVG, 비율 7.28:1). 왼쪽 끝 = 본문 왼쪽 끝(.wrap) */
.logo { flex: none; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo img { display: block; width: clamp(240px, 18vw, 280px); height: auto; }
.site-nav { display: flex; gap: 36px; margin-left: auto; }
/* 메뉴는 로고보다 가벼운 굵기 */
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 500; text-decoration: none; transition: color .2s ease; }
.site-nav .nav-quote { display: none; }   /* 아주 좁은 화면에서만 펼침 메뉴 안에 표시 */
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--red-btn); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.site-nav a[aria-current] { color: var(--red-btn); }
.btn-quote {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-height: 44px; padding: 0 20px; border-radius: var(--btn-radius); background: var(--red-btn); color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color .2s ease;
}
.btn-quote:hover { background: var(--red-btn-hover); }
/* 문의 페이지에 있을 때도 레드 유지, 아래쪽 얇은 선으로만 현재 위치 표시 */
.btn-quote[aria-current] { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28); }
.menu-toggle { display: none; flex: none; width: 44px; height: 44px; margin-right: -10px; position: relative; }
.menu-toggle .bar { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .2s ease; }
.menu-toggle .bar:nth-of-type(1) { top: 17px; }
.menu-toggle .bar:nth-of-type(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] .bar:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 메인 이미지: 넓은 사진 1장 + 왼쪽 아래 문구 ---------- */
.hero { padding-top: 4px; }
.hero-frame { position: relative; height: clamp(480px, 38vw, 560px); overflow: hidden; border-radius: var(--radius); background: var(--cream-deep); }
.hero-media, .hero-media picture { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
/* 글자 아래쪽·왼쪽에만 은은한 어두운 그라데이션(불투명 상자 없음) */
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(17, 17, 17, .58) 0%, rgba(17, 17, 17, .28) 38%, rgba(17, 17, 17, 0) 64%),
    linear-gradient(to right, rgba(17, 17, 17, .32) 0%, rgba(17, 17, 17, 0) 58%); }
.hero-copy { position: absolute; left: clamp(28px, 3.6vw, 56px); bottom: clamp(28px, 3.6vw, 56px); max-width: min(620px, calc(100% - 56px)); color: #fff; }
.hero h1 { font-size: clamp(28px, calc(2.2vw + 22px), 56px); line-height: 1.2; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 1px 12px rgba(0, 0, 0, .18); }
.hero-desc { margin-top: 12px; font-size: clamp(16px, calc(.3vw + 14px), 19px); font-weight: 500; text-shadow: 0 1px 8px rgba(0, 0, 0, .2); }
.hero .btn:focus-visible { outline-color: #fff; }
.media-note { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 3px 10px; border-radius: 3px; background: rgba(20, 20, 20, .55); color: #fff; font-size: 12px; font-weight: 600; }
/* 사진이 없을 때(배너·연출 이미지 모두 없음): 문구만 밝은 바탕에 */
.hero.no-image .hero-frame { height: auto; padding: clamp(40px, 5vw, 72px) clamp(28px, 3.6vw, 56px); background: var(--bg-soft); }
.hero.no-image .hero-copy { position: static; max-width: 720px; color: var(--ink); }
.hero.no-image h1, .hero.no-image .hero-desc { text-shadow: none; }
.hero.no-image .hero-desc { color: var(--ink-sub); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-actions .btn { margin: 0; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }

/* ---------- 상품 탐색(메인·목록 공통): 렌탈/판매 탭 → 품목 필터·검색 → 목록 ---------- */
.catalog-block { padding-top: 28px; padding-bottom: var(--section); }
/* 렌탈/판매: 큰 글자 탭, 선택 = 레드 글씨 + 밑줄(상자·카드 없음) */
.deal-tabs { display: flex; gap: 36px; border-bottom: 1px solid var(--line); }
.deal-tabs a {
  display: inline-flex; align-items: center; min-height: 56px; margin-bottom: -1px;
  font-size: clamp(22px, calc(.6vw + 16px), 26px); font-weight: 700; letter-spacing: -.02em; color: var(--ink-sub); text-decoration: none;
  border-bottom: 3px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.deal-tabs a:hover { color: var(--ink); }
.deal-tabs a[aria-current] { color: var(--red-btn); border-color: var(--red-btn); }
.deal-tabs a:focus-visible { outline-offset: -2px; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
.cat-filter { flex: 1; min-width: 0; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.cat-filter::-webkit-scrollbar { display: none; }
.cat-filter button {
  flex: none; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--ink-sub); white-space: nowrap;
  text-decoration: underline 2px transparent; text-underline-offset: 8px; transition: color .2s ease, text-decoration-color .2s ease;
}
.cat-filter button:hover { color: var(--ink); }
.cat-filter button[aria-pressed="true"] { color: var(--red-btn); text-decoration-color: var(--red-btn); }
.cat-filter button:focus-visible { outline-offset: -2px; }
.filter-tools { flex: none; display: flex; align-items: center; gap: 10px; }
.cond-select { height: 44px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-soft); border: 0; border-radius: var(--btn-radius); }
.catalog-search { display: flex; align-items: center; width: 300px; height: 44px; padding-left: 14px; border-radius: var(--btn-radius); background: var(--bg-soft); transition: box-shadow .2s ease; }
.catalog-search:focus-within { box-shadow: inset 0 0 0 1px var(--ink); }
.catalog-search { min-width: 0; }
.catalog-search input { flex: 1; min-width: 0; width: 100%; height: 100%; padding: 0; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; }
.catalog-search input:focus { outline: none; }
.catalog-search button { flex: none; min-width: 60px; height: 44px; font-size: 15px; font-weight: 700; transition: color .2s ease; }
.catalog-search button:hover { color: var(--red-btn); }
.list-head { display: flex; align-items: center; gap: 16px; min-height: 44px; margin: 12px 0 12px; }
.list-head .result-count { margin-right: auto; }
.list-head .catalog-more { order: 3; }
.list-empty { padding-top: 4px; }
.list-empty-text { font-size: 17px; color: var(--ink); white-space: pre-line; }
.list-empty .btn-primary { margin-top: 16px; }
.list-page .page-title { padding-top: 32px; }
.list-page .catalog-block { padding-top: 16px; }

/* ---------- 상품 카드(전체 상품 페이지 공통): 테두리·그림자 없음, 사진 4:3 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.product-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.product-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-deep); border-radius: var(--radius); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.product-card a:hover .thumb img { transform: scale(1.02); }
.thumb-empty { display: grid; place-items: center; height: 100%; font-size: 14px; color: var(--ink-sub); }
.card-body { display: flex; flex-direction: column; gap: 2px; flex: 1; padding-top: 12px; }
.product-card .meta { display: flex; flex-wrap: wrap; gap: 10px; }
.product-card .meta:empty { display: none; }
.badge { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink-sub); line-height: 1.5; }
.badge.sale { color: var(--red-btn); }
.product-card .name { font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spec-line { font-size: 14px; color: var(--ink-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec-line:empty { display: none; }
.price-line { margin-top: auto; padding-top: 4px; font-size: 16px; font-weight: 700; }
.price-line.quote { color: var(--red-btn); }
.price-line.sold { color: var(--ink-sub); }
.product-card a:hover .name { text-decoration: underline; text-underline-offset: 3px; }
.empty { padding: 32px 0; color: var(--ink-sub); }

/* ---------- 소싱 문의 + 이용 안내(짧은 문장) ---------- */
.sourcing { background: var(--bg-soft); }
.sourcing-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); padding-block: clamp(48px, 5vw, 72px); }
.sourcing h2 { font-size: clamp(24px, calc(1vw + 16px), 32px); }
.sourcing-sub { margin-top: 10px; font-size: 17px; }
.sourcing-hint { margin-top: 6px; font-size: 15px; color: var(--ink-sub); }
.sourcing-hint a { color: var(--ink); font-weight: 600; }
.sourcing .btn-primary { margin-top: 24px; }
.guide h3 { font-size: 16px; font-weight: 700; }
.guide-list { margin-top: 10px; border-top: 1px solid var(--field-line); }
.guide-list li { padding-block: 12px; border-bottom: 1px solid var(--line); color: var(--ink-sub); }
.guide-list li:has(strong) { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }
.guide-list strong { color: var(--ink); font-weight: 700; }

/* ---------- About(관리자 입력 시에만) ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.lead { font-size: clamp(18px, 1.4vw, 22px); font-weight: 500; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 48px; font-size: 15px; color: var(--ink-sub); }
.footer-inner { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr); gap: 16px 40px; }
.footer-brand { margin: 0; color: var(--ink); }
.footer-brand strong { font-size: 17px; font-weight: 800; letter-spacing: .06em; }
.footer-brand span { margin-left: 8px; color: var(--ink-sub); }
.biz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 40px; }
.biz div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.biz dt { color: var(--ink); font-weight: 600; }
.biz a { color: inherit; text-underline-offset: 3px; }
.footer-links { grid-column: 2; margin: 0; padding-top: 12px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.contact-info { margin: 16px 0 0; font-size: 15px; color: var(--ink-sub); }
.contact-info a { color: inherit; font-weight: 600; }

/* ---------- 모바일 하단 문의(상품 상세에서만 사용) ---------- */
.mobile-cta { display: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; max-width: calc(100% - 32px); padding: 14px 22px; border-radius: var(--btn-radius); background: var(--ink); color: #fff; font-size: 15px; }

/* ---------- Catalog(전체 상품) ---------- */
.catalog { padding-block: 32px var(--section); }
.page-title { font-size: clamp(28px, calc(1.4vw + 16px), 40px); line-height: 1.2; font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.catalog .section-head { margin-bottom: 24px; }
.search { display: flex; max-width: 520px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); }
.search input { flex: 1; min-width: 0; min-height: 52px; padding: 0 2px; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--red-btn); }
.search-btn { min-width: 72px; min-height: 52px; font-weight: 700; transition: color .2s ease; }
.search-btn:hover { color: var(--red-btn); }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.tabs button { min-height: 48px; font-size: 16px; font-weight: 600; color: var(--ink-sub); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s ease, border-color .2s ease; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--red-btn); }
.chips { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 28px; }
.chips button { min-height: 44px; font-size: 16px; font-weight: 600; color: var(--ink-sub); transition: color .2s ease; }
.chips button:hover { color: var(--ink); }
.chips button[aria-pressed="true"] { color: var(--red-btn); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin: -8px 0 20px; }
.result-count { font-size: 15px; color: var(--ink-sub); }
.result-count strong { color: var(--ink); }
.reset-btn { min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.empty-sub { margin-top: 6px; font-size: 16px; }
.empty-sub a { color: var(--red-btn); font-weight: 700; }

/* ---------- Product detail ---------- */
.detail { padding-block: 24px var(--section); }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--red-btn); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); margin-top: 12px; align-items: start; }
.gallery { min-width: 0; }
.gallery-main { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--cream-deep); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main.empty-img { display: grid; place-items: center; color: var(--ink-sub); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: none; width: 84px; min-height: 44px; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 2px solid transparent; background: var(--cream-deep); border-radius: 2px; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-images { max-width: 880px; margin: clamp(56px, 7vw, 96px) auto 0; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.detail-images img { display: block; width: 100%; height: auto; }
.detail-info .meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.detail-info .meta:empty { display: none; }
.deal-label { font-size: 14px; font-weight: 700; color: var(--red-btn); }
.price-kind { margin-right: 6px; font-size: 15px; font-weight: 600; color: var(--ink-sub); }
.price-note { margin-top: 6px; font-size: 14px; color: var(--ink-sub); }
/* 수량(선택) + 렌탈 문의/구매 문의 */
.order-box { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.order-box .btn-primary { margin: 0; flex: 1 1 200px; min-height: 52px; }
.qty-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.qty-field input { width: 140px; min-height: 52px; padding: 0 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--field-line); border-radius: var(--btn-radius); }
.qty-field input:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.not-found-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.detail-info h1 { margin: 8px 0 0; font-size: clamp(26px, calc(1.2vw + 16px), 36px); line-height: 1.3; font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.price { margin-top: 14px; font-size: 22px; font-weight: 700; }
.price.quote { color: var(--red-btn); }
.price.sold { color: var(--ink-sub); }
.spec-group { margin-top: 32px; }
.spec-group h2 { font-size: 16px; letter-spacing: 0; color: var(--ink); margin-bottom: 6px; }
.spec { border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink-sub); }
.spec dd.tbd, .tbd-text { color: var(--ink-sub); }
.detail-info .btn-primary { margin-top: 32px; }
.not-found { padding-block: 48px; }
.not-found h1 { font-size: clamp(24px, 2.2vw, 34px); color: var(--ink); letter-spacing: -.03em; }
.not-found p { margin-top: 12px; color: var(--ink-sub); }
.sold-note { margin: 24px 0 0; font-weight: 600; color: var(--red-btn); }
.sold-note + .btn-primary { margin-top: 16px; }

/* ---------- Inquiry ---------- */
.inquiry { max-width: 800px; padding-block: 32px var(--section); }
.inquiry h1 { font-size: clamp(28px, calc(1.4vw + 16px), 40px); line-height: 1.25; font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.draft-notice { display: block; margin: 20px 0 16px; padding: 14px 18px; background: var(--bg-soft); border-left: 3px solid var(--red-btn); font-weight: 600; }
.inquiry p.error { margin-top: 16px; font-weight: 600; color: var(--red-btn); }
.product-ref { margin-top: 28px; padding-block: 16px; border-block: 1px solid var(--line); }
.product-ref .label { font-size: 15px; color: var(--ink-sub); }
.product-ref strong { display: block; margin-top: 2px; font-size: 18px; }
.product-ref .warn { color: var(--red-btn); font-weight: 600; }
.product-ref a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; margin-top: 32px; }
/* 문의 구분(일반 문의): 렌탈·판매·상담 후 결정 */
.deal-choice { margin: 28px 0 0; padding: 0; border: 0; }
.deal-choice legend { padding: 0; margin-bottom: 6px; font-weight: 700; }
.deal-choice .radio-row, .inquiry .radio-row { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.inquiry .radio-row label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; cursor: pointer; }
.inquiry .radio-row input, .schedule-tbd input { width: 20px; height: 20px; margin: 0; accent-color: var(--red-btn); cursor: pointer; }
.inquiry .radio-row[aria-invalid="true"] { outline: 1px solid var(--red-btn); outline-offset: 4px; border-radius: 4px; }
/* 희망 일정: 시작일·종료일 두 칸(PC는 폼의 두 열과 같은 너비로 나란히) */
.schedule { margin: 0; padding: 0; border: 0; min-width: 0; }
.schedule legend { padding: 0; font-weight: 600; }
.schedule .hint { margin-top: 2px; }
.date-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 10px; }
.date-field { min-width: 0; }
.date-field label { margin-bottom: 6px; font-size: 15px; }
.schedule-tbd { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 6px 0 0; font-weight: 600; cursor: pointer; }
.field input:disabled { background: var(--bg-soft); color: var(--ink-sub); }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.req { color: var(--red-btn); margin-left: 4px; font-size: 14px; }
.req-guide { margin-top: 24px; font-size: 15px; color: var(--ink-sub); }
/* 텍스트 입력칸 공통 스타일 — 체크박스·라디오에는 적용하지 않음 */
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--field-line); border-radius: var(--btn-radius); scroll-margin-bottom: 120px;
  transition: border-color .2s ease;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.6; }
.field input:not([type="checkbox"]):not([type="radio"]):focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--red-btn); }
.field .hint { margin-top: 6px; font-size: 15px; color: var(--ink-sub); }
.field .error { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--red-btn); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.form-actions .btn-primary { margin: 0; }
.btn-primary[aria-disabled="true"], .btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary:disabled:hover { background: var(--red-btn); }
.summary .spec { margin-top: 28px; }
.summary .spec dd { white-space: pre-wrap; }
.summary h2 { margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; }
.consent legend { font-weight: 700; padding: 0 6px; }
.consent .check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding-top: 10px; margin-top: 4px; font-weight: 600; cursor: pointer; }
.consent .check input[type="checkbox"] { flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; accent-color: var(--red-btn); cursor: pointer; }
.consent .check input[type="checkbox"]:focus { outline: none; }
.consent .check input[type="checkbox"]:focus-visible { outline: 2px solid var(--red-btn); outline-offset: 2px; border-radius: 3px; }
.consent .check-note { margin: 4px 0 0 30px; font-size: 15px; font-weight: 400; color: var(--ink-sub); }
.consent .spec { margin: 0; }
.opt { font-size: 14px; font-weight: 500; color: var(--ink-sub); }
.inquiry .error, .inquiry .warn, .inquiry .label, #done-note, .result-count, .not-found p { white-space: pre-line; }
.receipt { font-size: 1.125rem; }
.receipt strong { display: inline-block; font-size: clamp(1.15rem, 4.6vw, 1.5rem); letter-spacing: .02em; white-space: nowrap; }

/* ---------- Policy ---------- */
.policy { max-width: 820px; padding-block: 32px 96px; }
.policy h2 { margin: 40px 0 12px; font-size: 20px; letter-spacing: -.01em; color: var(--ink); }
.policy ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.policy .draft-notice { margin: 16px 0 24px; }

/* ---------- 이용 안내(guide.html): 왼쪽 정렬(로고와 같은 시작선), 항목 제목 | 본문 2단, 상자·아이콘 없음 ---------- */
.guide-page { padding-block: 40px var(--section); }
.guide-head { max-width: 760px; padding-bottom: 32px; }
.guide-lead { margin-top: 14px; font-size: 18px; line-height: 1.75; color: var(--ink-sub); }
.guide-sec { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 720px); gap: 12px 48px; padding-block: 32px; border-top: 1px solid var(--line); }
.guide-sec h2 { font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: -.02em; }
.guide-body p { font-size: 17px; line-height: 1.8; color: var(--ink); }
.guide-body p + p { margin-top: 6px; }
.guide-body a:not(.btn) { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.guide-cta { border-top-color: var(--ink); }
.guide-cta .btn-primary { margin-top: 24px; }

/* ---------- 움직임: 등장 효과 없음. 색 전환·메뉴 열림만(움직임 감소 설정이 아닐 때) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .site-nav { transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
}

/* ---------- 중간 폭 ---------- */
@media (max-width: 1199px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .biz { grid-template-columns: 1fr; }
}
@media (max-width: 959px) {
  .catalog-search { width: 220px; }
  .header-inner { gap: 24px; }
  .site-nav { gap: 24px; }
  .sourcing-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  :root { --gutter: 16px; --header-h: 68px; --section: 44px; }
  .logo img { width: clamp(160px, 45vw, 190px); }
  body[data-page="product"] { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .m-br { display: inline; }
  .pc-br { display: none; }
  .header-inner { gap: 8px; }
  .btn-quote { margin-left: auto; padding: 0 14px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .08); border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
  }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
  .site-nav a { min-height: 52px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  /* 탐색: 렌탈/판매 탭 → 품목 필터(화면 끝까지 가로 스크롤) → 상태·검색 한 줄 */
  .catalog-block { padding-top: 24px; }
  .deal-tabs { gap: 28px; }
  .deal-tabs a { min-height: 52px; font-size: 21px; }
  .filter-bar { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 8px; }
  .cat-filter { gap: 22px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .filter-tools { width: 100%; }
  .catalog-search { flex: 1; width: auto; }
  .list-head { flex-wrap: wrap; gap: 4px 16px; margin: 8px 0; }
  .list-empty .btn-primary { width: 100%; }
  .list-page .page-title { padding-top: 24px; }
  .order-box .btn-primary { flex-basis: 100%; }
  .qty-field input { width: 100%; }
  .qty-field { flex: 1 1 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .product-card .name { font-size: 15px; }
  .sourcing .btn-primary { width: 100%; }
  .about-inner, .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-column: auto; padding-top: 4px; }
  .biz { grid-template-columns: 1fr; }
  .biz div { grid-template-columns: 104px minmax(0, 1fr); }
  /* 상품 상세 하단 고정 '이 상품 견적 문의'(아이폰 안전 영역 고려). 입력 중·메뉴 열림 시 숨김 */
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); box-shadow: 0 -1px 0 var(--line);
  }
  .mobile-cta a { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--btn-radius); background: var(--red-btn); color: #fff; font-weight: 700; text-decoration: none; }
  body.is-typing .mobile-cta, body.menu-open .mobile-cta { display: none; }
  body[data-page="product"] .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .detail { padding-top: 12px; }
  .detail-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 8px; }
  .gallery-main { margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .gallery-thumbs button { width: 64px; }
  .detail-images { margin-inline: calc(var(--gutter) * -1); }
  .spec div { grid-template-columns: 100px 1fr; gap: 12px; }
  .detail-info .btn-primary { width: 100%; }
  .inquiry, .catalog { padding-top: 24px; }
  .guide-page { padding-top: 24px; }
  .guide-head { padding-bottom: 20px; }
  .guide-lead { font-size: 17px; }
  .guide-sec { grid-template-columns: 1fr; gap: 8px; padding-block: 24px; }
  .guide-body p { font-size: 16px; }
  .guide-cta .btn-primary { width: 100%; }
  .search { max-width: none; }
  .tabs { gap: 20px; }
  .chips { gap: 4px 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-actions > * { width: 100%; max-width: none; }
}
/* 좁은 화면: 문구를 사진 아래로 분리, 사진은 별도 크롭(4:3) */
@media (max-width: 599px) {
  .hero-frame { height: auto; overflow: visible; border-radius: 0; background: none; }
  .hero-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--cream-deep); }
  .hero-media::after { display: none; }
  .hero-media img { object-position: 50% 50%; }
  .hero-copy { position: static; max-width: none; padding-top: 20px; color: var(--ink); }
  .hero h1, .hero-desc { text-shadow: none; }
  .hero-desc { margin-top: 8px; color: var(--ink-sub); }
  .hero-actions { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-actions .btn { padding: 0 12px; }
  .hero .btn:focus-visible { outline-color: var(--red-btn); }
  .btn-light { background: #fff; color: var(--ink); border-color: var(--ink); }
  .hero.no-image .hero-frame { padding: 28px 20px; background: var(--bg-soft); border-radius: var(--radius); }
}
@media (max-width: 374px) {
  .product-grid { gap: 24px 10px; }
}
/* 날짜 두 칸이 나란히 들어가기 좁으면 위아래로 */
@media (max-width: 419px) {
  .date-pair { grid-template-columns: 1fr; }
}
/* 로고·견적 문의·메뉴 버튼이 한 줄에 들어가지 않는 아주 좁은 화면: 견적 문의를 펼침 메뉴 안으로 */
@media (max-width: 339px) {
  .header-inner > .btn-quote { display: none; }
  .menu-toggle { margin-left: auto; }
  .site-nav .nav-quote { display: inline-flex; color: var(--red-btn); font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
}
