/*
  [생성일] 2026-11-24
  [경위] Montles 의류 쇼핑몰 라우드 매칭 시안
  [변경이력]
    - 2026-11-24: 최초 생성
*/

/* ---------- 색 · 글자 기준값 (웜 그레이 + 잉크 블랙 + 흰색, 강조는 캔버스 브라운 하나) ---------- */
:root {
  --paper: #F4F2EE;      /* 쪽 바탕 */
  --band: #E9E7E3;       /* 띠 바탕(브리프 지정 웜 그레이) */
  --white: #FFFFFF;
  --ink: #141414;        /* 글자 · 버튼 */
  --ink-2: #4E4A45;      /* 보조 글자 */
  --ink-3: #6B665F;      /* 흐린 글자 (바탕 대비 4.5 이상) */
  --line: rgba(20, 20, 20, .14);
  --line-strong: rgba(20, 20, 20, .32);
  --accent: #7A4A22;     /* 작업 자켓의 캔버스 브라운 */
  --sian: #5B3A1C;       /* 시안 전용 표시 색 */
  --on-dark-2: #BDB8B0;  /* 어두운 바탕 위 보조 글자 */
  --gut: 40px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px; line-height: 1.6; font-weight: 400; word-break: keep-all; overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: var(--white); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 16px; }
.skip:focus { top: 8px; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
svg.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 시안 전용 요소 (실제 사이트에는 넣지 않음) ---------- */
.sian-bar { background: var(--sian); color: var(--white); font-size: 12px; line-height: 1.5; padding: 8px 16px; text-align: center; }
.sian-tag { display: inline-block; font-size: 12px; line-height: 1; padding: 4px 6px; border: 1px dashed var(--sian); color: var(--sian); background: var(--white); font-weight: 500; letter-spacing: 0; white-space: nowrap; vertical-align: middle; }
.sian-memo { border: 1px dashed var(--sian); background: var(--white); padding: 16px 20px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.sian-memo b { display: block; color: var(--sian); font-weight: 600; margin-bottom: 4px; }

/* ---------- 헤더 (아임웹 기본 헤더: 로고 · 메뉴 · 검색 · 로그인 · 장바구니, 스크롤 시 고정) ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.hd-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.logo { font-size: 20px; font-weight: 600; letter-spacing: .12em; display: inline-flex; align-items: center; min-height: 44px; }
.hd-left { display: flex; align-items: center; gap: 12px; }
.gnb { display: flex; gap: 4px; }
.gnb a { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; font-size: 14px; font-weight: 500; letter-spacing: .04em; transition: color .15s var(--ease); }
.gnb a:hover { color: var(--ink-3); }
.gnb a[aria-current] { box-shadow: inset 0 -2px 0 var(--ink); }
.hd-util { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.hd-util a, .hd-util button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 8px; font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.hd-cart .cnt { font-size: 12px; color: var(--accent); font-weight: 600; }
.hd-burger { display: none; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-left: -12px; }
.mnav { border-top: 1px solid var(--line); background: var(--paper); padding: 8px 0 16px; }
.mnav a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; font-size: 16px; font-weight: 500; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.mnav a span { font-size: 13px; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }

/* ---------- 버튼 (모서리 0, 올리면 색만 바뀜) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-size: 15px; font-weight: 500; border: 1px solid var(--ink); background: var(--ink); color: var(--white); transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); text-align: center; }
.btn:hover { background: #3A3835; border-color: #3A3835; }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn.white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.white:hover { background: var(--band); border-color: var(--band); }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn.ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.more:hover { color: var(--ink-3); }

/* ---------- 첫 화면 (섹션 배경 사진 + 왼쪽 빈 콘크리트 위 글자) ---------- */
.hero { position: relative; color: var(--white); background: #2B2B2A; }
.hero-ph { position: absolute; inset: 0; }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; }
.hero-ph::after { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 20, .34); }   /* 섹션 배경 오버레이(단색) */
.hero-in { position: relative; display: flex; align-items: center; min-height: min(calc(100vh - 100px), 780px); padding-top: 64px; padding-bottom: 64px; }
.hero-tx { width: 40%; min-width: 420px; }
.hero-kicker { font-size: 13px; font-weight: 500; letter-spacing: .08em; margin-bottom: 20px; }
.hero h1 { font-size: 64px; line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }
.hero-sub { margin-top: 24px; font-size: 17px; line-height: 1.65; color: #EDEAE5; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- 섹션 공통 ---------- */
.sec { padding: 96px 0; }
.sec.band { background: var(--band); }
.sec.dark { background: var(--ink); color: var(--white); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.sec-hd h2 { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: .02em; }
.sec-hd p { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.sec.dark .sec-hd p { color: var(--on-dark-2); }

/* ---------- 카테고리 4칸 (4칸 섹션 이미지 + 텍스트) ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat { display: block; }
.cat-ph { aspect-ratio: 1 / 1; overflow: hidden; background: #D9D5CF; }
.cat-ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s var(--ease); }
.cat:hover img { opacity: .86; }
.cat-nm { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--ink); margin-top: 12px; }
.cat-nm b { font-size: 20px; font-weight: 600; letter-spacing: .04em; }
.cat-nm span { font-size: 13px; color: var(--ink-3); }

/* ---------- 상품 카드 (쇼핑 위젯 모양: 사진 3:4 · 상품명 · 가격) ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
.card { display: block; position: relative; }
.card-ph { aspect-ratio: 3 / 4; background: #D9D5CF; overflow: hidden; }
.card-ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s var(--ease); }
.card:hover .card-ph img { opacity: .86; }
.card-nm { margin-top: 12px; font-size: 14px; line-height: 1.5; font-weight: 500; }
.card-pr { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.badge { position: absolute; left: 0; top: 0; background: var(--paper); color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .06em; line-height: 1; padding: 8px 10px; }
[hidden] { display: none !important; }

/* ---------- 룩북 (어두운 띠, 4칸 섹션 이미지 + 텍스트) ---------- */
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.look img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.look figcaption { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--on-dark-2); }
.look figcaption b { display: block; color: var(--white); font-weight: 500; font-size: 14px; }

/* ---------- 브랜드 한 줄 + 쇼룸 사진 (2칸 섹션) ---------- */
.brand { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.brand img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.brand h2 { font-size: 36px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.brand p { margin-top: 20px; font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.brand .note { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

/* ---------- 고객 안내 3칸 (3칸 섹션 텍스트 + 구분선) ---------- */
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info { border-top: 1px solid var(--ink); padding-top: 20px; }
.info h3 { font-size: 18px; font-weight: 600; }
.info p { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.infos + .sian-memo { margin-top: 48px; }

/* ---------- 푸터 (푸터 섹션 텍스트) ---------- */
.ft { background: var(--ink); color: var(--on-dark-2); padding: 64px 0 40px; font-size: 13px; line-height: 1.8; }
.ft-top { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 40px; }
.ft .logo { color: var(--white); }
.ft h3 { color: var(--white); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.ft-links { display: flex; flex-direction: column; }
.ft-links a, .ft-links button { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); text-align: left; font-size: 14px; }
.ft-links a:hover, .ft-links button:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-btm { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- 상품 목록 (/shop) ---------- */
.pg-hd { padding: 56px 0 24px; }
.pg-hd h1 { font-size: 36px; line-height: 1.2; font-weight: 600; letter-spacing: .02em; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.crumb a:hover { text-decoration: underline; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; font-size: 15px; font-weight: 500; letter-spacing: .04em; color: var(--ink-3); white-space: nowrap; margin-bottom: -1px; border-bottom: 2px solid transparent; transition: color .15s var(--ease); }
.tabs a:first-child { padding-left: 0; min-width: 48px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.list-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0 24px; }
.list-bar .n { font-size: 14px; color: var(--ink-2); }
.sel { position: relative; display: inline-block; }
.sel select { appearance: none; -webkit-appearance: none; background: var(--white); border: 1px solid var(--line-strong); border-radius: 0; min-height: 48px; padding: 0 44px 0 16px; font-size: 15px; width: 100%; cursor: pointer; }
.sel svg { position: absolute; right: 14px; top: 50%; margin-top: -10px; pointer-events: none; }
.sel.sm select { min-height: 44px; font-size: 14px; }
.shop-end { padding-bottom: 96px; }

/* ---------- 상품 상세 (/product, 아임웹 기본 상세 모양) ---------- */
.pd { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; padding: 16px 0 80px; align-items: start; }
.pd-gal { display: grid; grid-template-columns: 88px 1fr; gap: 16px; }
.pd-thumbs { display: flex; flex-direction: column; gap: 12px; }
.pd-thumbs button { display: block; border: 1px solid transparent; opacity: .6; transition: opacity .15s var(--ease); }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--ink); opacity: 1; }
.pd-thumbs button:hover { opacity: 1; }
.pd-thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pd-main { background: #D9D5CF; }
.pd-main img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pd-info { position: sticky; top: 88px; }
.pd-info h1 { font-size: 28px; line-height: 1.3; font-weight: 600; }
.pd-sum { margin-top: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.pd-price { margin-top: 20px; font-size: 24px; font-weight: 600; }
.pd-meta { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; display: grid; grid-template-columns: 88px 1fr; gap: 8px 16px; font-size: 14px; }
.pd-meta dt { color: var(--ink-3); }
.pd-opts { margin-top: 24px; display: grid; gap: 12px; }
.fld label, .fld .lb { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.fld .sel { display: block; }
.req { color: var(--accent); }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 16px; background: var(--band); }
.qty-row .o { font-size: 14px; color: var(--ink-2); }
.qty { display: inline-flex; border: 1px solid var(--line-strong); background: var(--white); }
.qty button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--band); }
.qty output, .qty input { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; text-align: center; font-size: 15px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--white); }
.pd-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; font-size: 14px; }
.pd-total strong { font-size: 24px; font-weight: 600; }
.pd-err { margin-top: 12px; font-size: 14px; color: #A32A17; min-height: 22px; }
.form .pd-err:empty { display: none; }
.pd-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pd-help { margin-top: 12px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }

.ptabs { position: sticky; top: 64px; z-index: 20; background: var(--paper); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.ptabs button { min-height: 56px; font-size: 15px; font-weight: 500; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s var(--ease); }
.ptabs button:hover { color: var(--ink); }
.ptabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.ptabs .c { color: var(--accent); margin-left: 4px; font-weight: 600; }
.ppanel { max-width: 920px; margin: 0 auto; padding: 56px 0 96px; }
.ppanel h2 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.ppanel h3 { font-size: 16px; font-weight: 600; margin: 40px 0 12px; }
.ppanel p { color: var(--ink-2); line-height: 1.8; }
.detail-ph { margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.tbl-wrap { overflow-x: auto; }
.tbl { font-size: 14px; min-width: 300px; }
.tbl th, .tbl td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.tbl thead th { border-bottom: 1px solid var(--ink); font-weight: 600; }
.tbl tbody th { text-align: left; font-weight: 500; }
.dl { display: grid; grid-template-columns: 96px 1fr; gap: 12px 16px; font-size: 14px; line-height: 1.7; }
.dl dt { color: var(--ink-3); }
.dl dd { color: var(--ink-2); }

/* 구매평 */
.rv-hd, .qa-hd { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.rv-hd p, .qa-hd p { font-size: 14px; }
.rv { padding: 24px 0; border-bottom: 1px solid var(--line); }
.rv-top { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 13px; color: var(--ink-3); }
.stars { color: var(--ink); letter-spacing: .1em; font-size: 14px; }
.rv-opt { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.rv p.t { margin-top: 8px; font-size: 15px; color: var(--ink); line-height: 1.7; }

/* 상품 Q&A (이 상품에 달린 문의만, 비밀글 자물쇠) */
.qa-btns { display: flex; gap: 8px; }
.qa-cols, .qa-q { display: grid; grid-template-columns: 88px 1fr 88px 104px; gap: 12px; align-items: center; }
.qa-cols { padding: 12px 0; font-size: 13px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.qa-item { border-bottom: 1px solid var(--line); }
.qa-q { width: 100%; min-height: 56px; padding: 8px 0; text-align: left; font-size: 14px; }
.qa-q:hover .qa-t { text-decoration: underline; text-underline-offset: 4px; }
.qa-st { font-size: 13px; font-weight: 500; }
.qa-st.done { color: var(--accent); }
.qa-st.wait { color: var(--ink-3); }
.qa-t { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.qa-t svg { width: 16px; height: 16px; color: var(--ink-3); }
.qa-t.lock { color: var(--ink-3); }
.qa-w, .qa-d { font-size: 13px; color: var(--ink-3); }
.qa-a { padding: 4px 0 24px 100px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.qa-a .ans { margin-top: 12px; padding: 16px; background: var(--band); }
.qa-a .ans b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: 13px; }
.qa-note { margin-top: 24px; }

/* 연관 상품 */
.rel { padding: 80px 0 96px; border-top: 1px solid var(--line); }

/* ---------- 장바구니 (/cart, 아임웹 기본 장바구니 모양) ---------- */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; padding-bottom: 96px; }
.cart-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--ink); }
.chk { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex: none; }
.txt-btn { min-height: 44px; min-width: 44px; padding: 0 4px; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.txt-btn:hover { color: var(--ink); }
.ci { display: grid; grid-template-columns: 28px 96px 1fr auto; gap: 16px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ci .chk { width: 44px; height: 44px; justify-content: center; margin: -10px 0 0 -12px; }
.ci-ph { background: #D9D5CF; }
.ci-ph img { width: 96px; aspect-ratio: 3 / 4; object-fit: cover; }
.ci-nm { display: inline-block; padding: 11px 0; margin: -11px 0 -7px; font-size: 15px; font-weight: 500; line-height: 1.5; }
.ci-nm:hover { text-decoration: underline; text-underline-offset: 4px; }
.ci-op { margin-top: 0; font-size: 13px; color: var(--ink-3); }
.ci-ctl { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.ci-pr { text-align: right; font-size: 16px; font-weight: 600; white-space: nowrap; }
.ci-pr small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.cart-empty { padding: 72px 0; text-align: center; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.cart-empty .btn { margin-top: 20px; }
.sum { position: sticky; top: 88px; background: var(--white); padding: 28px; border: 1px solid var(--line); }
.sum h2 { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.sum dl { display: grid; grid-template-columns: 1fr auto; gap: 12px; font-size: 14px; }
.sum dt { color: var(--ink-2); }
.sum dd { text-align: right; }
.sum .tot { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 500; }
.sum .tot strong { font-size: 24px; font-weight: 600; }
.sum .ship-note { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.sum .btn { width: 100%; margin-top: 8px; }
.sum .btn:first-of-type { margin-top: 24px; }

/* ---------- 로그인 · 회원가입 (/join, 아임웹 기본 화면 모양) ---------- */
.join { display: grid; grid-template-columns: 5fr 7fr; gap: 0; padding-bottom: 96px; align-items: start; }
.join > section { padding: 8px 56px 0 0; }
.join > section + section { padding: 8px 0 0 56px; border-left: 1px solid var(--line); }
.join h2 { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.join .lead { font-size: 14px; color: var(--ink-3); margin-bottom: 28px; }
.form { display: grid; gap: 16px; }
.inp { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--white); font-size: 15px; }
.inp::placeholder { color: #77726B; }
textarea.inp { padding: 12px 16px; min-height: 140px; resize: vertical; line-height: 1.6; }
.hint { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.agree { border: 1px solid var(--line); background: var(--white); padding: 4px 16px; }
.agree .chk { display: flex; border-bottom: 1px solid var(--line); min-height: 48px; }
.agree .chk:last-child { border-bottom: 0; }
.agree .chk.all { font-weight: 600; border-bottom-color: var(--ink); }
.form .btn { width: 100%; }

/* ---------- 알림 창 (dialog) ---------- */
dialog.dlg { border: 0; padding: 0; width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--white); color: var(--ink); }
dialog.dlg::backdrop { background: rgba(20, 20, 20, .56); }
.dlg-in { padding: 32px 28px 28px; position: relative; }
.dlg h2 { font-size: 20px; line-height: 1.4; font-weight: 600; padding-right: 40px; }
.dlg-body { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.dlg-body .box { margin: 16px 0 0; padding: 16px; background: var(--band); color: var(--ink); }
.dlg-body .box b { font-weight: 600; }
.dlg-body .sian-memo { margin-top: 16px; }
.dlg-body .form { margin-top: 8px; }
.dlg-act { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 24px; }
.dlg-x { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- 등장 효과: 투명도만 (아임웹 위젯 페이드인) ---------- */
.js .fade { opacity: 0; transition: opacity .6s var(--ease); }
.js .fade.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .fade { opacity: 1; transition: none; } html { scroll-behavior: auto; } }

/* ---------- 태블릿 ---------- */
@media (max-width: 1100px) {
  :root { --gut: 24px; }
  .gnb a { padding: 0 10px; }
  .hero { background: var(--ink); }
  .hero-ph { position: static; }
  .hero-ph::after { display: none; }
  .hero-ph img { height: auto; aspect-ratio: 16 / 9; object-position: 50% 50%; }
  .hero-in { display: block; min-height: 0; padding-top: 48px; padding-bottom: 56px; }
  .hero-tx { width: auto; min-width: 0; }
  .hero h1 { font-size: 48px; }
  .pd { gap: 32px; grid-template-columns: 1fr 1fr; }
  .pd-gal { grid-template-columns: 1fr; }
  .pd-thumbs { flex-direction: row; order: 2; }
  .pd-thumbs button { width: 72px; }
  .brand { gap: 32px; grid-template-columns: 1fr 1fr; }
  .brand h2 { font-size: 28px; }
  .cart { grid-template-columns: 1fr 300px; gap: 24px; }
  .join > section { padding-right: 32px; }
  .join > section + section { padding-left: 32px; }
  .sec { padding: 72px 0; }
  .grid { gap: 40px 16px; }
  .cats, .looks { gap: 16px; }
  .hd-login { display: none !important; }
}

/* ---------- 휴대폰 (아임웹 모바일 헤더 · 모바일 전용 섹션) ---------- */
@media (max-width: 767px) {
  :root { --gut: 16px; }
  body { font-size: 15px; }
  .hd-in { height: 56px; grid-template-columns: auto 1fr; }
  .hd-left { gap: 4px; }
  .hd-burger { display: inline-flex; }
  .gnb, .hd .sian-tag { display: none; }
  .logo { font-size: 18px; }
  .hd-util { margin-right: -8px; gap: 0; }
  html { scroll-padding-top: 64px; }

  /* 첫 화면: 모바일 전용 섹션 = 사진 한 장(인물 쪽으로 자른 파일) + 아래 글자 띠 */
  .hero-ph img { aspect-ratio: 4 / 5; object-position: 90% 50%; }
  .hero-in { padding: 32px 16px 40px; }
  .hero h1 { font-size: 36px; line-height: 1.2; letter-spacing: -.01em; }
  .hero-kicker { margin-bottom: 12px; font-size: 12px; }
  .hero-sub { margin-top: 16px; font-size: 15px; }
  .hero-act { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-act .btn { padding: 0 8px; }

  .sec { padding: 56px 0; }
  .sec-hd { margin-bottom: 20px; }
  .sec-hd h2 { font-size: 22px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .cat-nm b { font-size: 17px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 32px 12px; }
  .card-nm { font-size: 13px; }
  .looks { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .brand { grid-template-columns: 1fr; gap: 24px; }
  .brand h2 { font-size: 24px; }
  .brand p { font-size: 15px; }
  .infos { grid-template-columns: 1fr; gap: 32px; }
  .ft { padding: 48px 0 32px; }
  .ft-top { grid-template-columns: 1fr; gap: 28px; }

  .pg-hd { padding: 32px 0 16px; }
  .pg-hd h1 { font-size: 28px; }
  .tabs a { padding: 0 14px; font-size: 14px; }
  .shop-end { padding-bottom: 64px; }

  .pd { grid-template-columns: 1fr; gap: 24px; padding-bottom: 56px; }
  .pd-gal { margin: 0 -16px; }
  .pd-thumbs { padding: 0 16px; gap: 8px; }
  .pd-thumbs button { width: 64px; }
  .pd-info { position: static; }
  .pd-info h1 { font-size: 22px; }
  .ptabs { top: 56px; margin: 0 -16px; }
  .ptabs button { font-size: 14px; min-height: 48px; }
  .ppanel { padding: 40px 0 64px; }
  .detail-ph { grid-template-columns: 1fr; }
  .qa-cols { display: none; }
  .qa-q { grid-template-columns: auto 1fr auto; grid-template-areas: "st w d" "t t t"; gap: 4px 12px; padding: 14px 0; }
  .qa-st { grid-area: st; } .qa-t { grid-area: t; } .qa-w { grid-area: w; } .qa-d { grid-area: d; }
  .qa-a { padding-left: 0; }
  .qa-hd { align-items: flex-start; flex-direction: column; }
  .qa-btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .rel { padding: 56px 0 64px; }

  .cart { grid-template-columns: 1fr; gap: 32px; padding-bottom: 64px; }
  .ci { grid-template-columns: 28px 80px 1fr; gap: 12px; }
  .ci-ph img { width: 80px; }
  .ci-pr { grid-column: 3; text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .sum { position: static; padding: 24px 20px; }

  .join { grid-template-columns: 1fr; padding-bottom: 64px; }
  .join > section { padding: 0 0 40px; }
  .join > section + section { padding: 40px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .dlg-in { padding: 28px 20px 20px; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 30px; }
  .hero-act { grid-template-columns: 1fr; }
  .form .pd-err:empty { display: none; }
.pd-btns { grid-template-columns: 1fr; }
  .tabs a { padding: 0 10px; }
  .ptabs button { font-size: 13px; }
  .sian-bar { font-size: 12px; }
}
