/* 의류 배송·교환·반품 안내 — 영상 중심 레이아웃 (20261002.4)
   구성: 헤더 → 영상 히어로 → 안내 띠 → 핵심 3가지 → 챕터 탭 → 챕터 ×3 → FAQ → 문의 → 마무리 영상 → 푸터
   효과: 히어로 등장·줌·떠다니는 이모지·스크롤 축소·패럴랙스·반짝이 자취 / 흐르는 안내 띠 / 챕터 영상 펼침·시차
         / 탭 슬라이드 알약 / 순차 등장 / 배송 트럭 주행·단계 점등 / 눌러서 여는 상자 / 숫자 올라가기 / 준비 완료 축하 / 파동 / 진행 링 */

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/PretendardVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --cdg-paper: #fcf8f2;
  --cdg-card: #fffcf8;
  --cdg-ink: #352c29;
  --cdg-muted: #6f625c;
  --cdg-coral: #ab5546;
  --cdg-peach: #f3dfd5;
  --cdg-blush: #f2ded6;
  --cdg-pink: #f7afc4;
  --cdg-pink-soft: #fde6ed;
  --cdg-line: #e3d8ce;
  --cdg-sage: #e7ece3;
  --cdg-sage-ink: #587050;
  --cdg-focus: #7047a0;
  --cdg-header-h: 76px;
  --cdg-header-offset: var(--cdg-header-h);
  --cdg-nav-h: 58px;
  --cdg-gutter: 40px;
  --cdg-wide: 1200px;
  --cdg-read: 820px;
  --cdg-ease: cubic-bezier(.2,.75,.25,1);
  --cdg-spring: cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cdg-header-offset) + var(--cdg-nav-h) + 16px); }
.sd-clothing { margin: 0; background: var(--cdg-paper); color: var(--cdg-ink); font: 16px/1.8 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; word-break: keep-all; overflow-x: clip; }
.sd-clothing *, .sd-clothing *::before, .sd-clothing *::after { box-sizing: border-box; }
.sd-clothing [hidden] { display: none !important; }
/* 초기화 규칙은 :where()로 우선순위를 0으로 두어, 컴포넌트 여백이 항상 이기게 합니다. */
:where(.sd-clothing) :where(h1, h2, h3, h4, p, figure, dl, dd) { margin: 0; }
:where(.sd-clothing) a { color: inherit; text-underline-offset: 4px; }
:where(.sd-clothing) img { display: block; max-width: 100%; height: auto; }
:where(.sd-clothing) strong { font-weight: 700; }
.sd-clothing button, .sd-clothing input { font: inherit; }
.sd-clothing button { color: inherit; cursor: pointer; }
.sd-clothing :focus-visible { outline: 3px solid var(--cdg-focus); outline-offset: 4px; }
.sd-clothing ::selection { background: var(--cdg-pink); color: var(--cdg-ink); }

/* ---------- 제목 한 줄 유지 ----------
   JS가 켜지면(.cdg-fit-ready) 제목을 한 줄로 고정하고, 폭이 모자라면 JS가 글자 크기만 줄입니다.
   JS가 없으면 기존처럼 자연스럽게 줄바꿈됩니다. */
.cdg-fit-ready [data-fit], .cdg-fit-ready [data-fit] .cdg-line { white-space: nowrap; }
.cdg-steps li > div, .cdg-journey li > div, .cdg-important > div, .cdg-phone-note > div, .cdg-pair > div, .cdg-precheck, .cdg-ready-head > h4, .cdg-faq-question { min-width: 0; }
.cdg-faq-question { flex: 1 1 auto; }

.cdg-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.cdg-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cdg-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cdg-skip { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 10px 20px; background: var(--cdg-ink); color: #fff !important; }
.cdg-skip:focus { top: 12px; }
.cdg-reading-line { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 90; pointer-events: none; }
.cdg-reading-line span { display: block; height: 100%; background: linear-gradient(90deg, var(--cdg-pink), var(--cdg-coral)); transform: scaleX(0); transform-origin: left center; }

/* ---------- 헤더 ---------- */
.cdg-header { position: sticky; top: 0; z-index: 60; height: var(--cdg-header-h); background: rgba(252,248,242,.96); border-bottom: 1px solid var(--cdg-line); transition: transform .32s var(--cdg-ease), box-shadow .32s ease; will-change: transform; }
html.cdg-header-scrolled .cdg-header { box-shadow: 0 12px 32px rgba(53,44,41,.09); }
/* 동적 헤더: 아래로 스크롤하면 위로 미끄러져 숨고, 위로 스크롤하면 다시 내려옵니다.
   숨는 동안 목차 바가 그 자리를 채우도록 오프셋만 0으로 바꿉니다(헤더 높이는 그대로라 화면이 튀지 않습니다). */
html.cdg-header-hidden { --cdg-header-offset: 0px; }
html.cdg-header-hidden .cdg-header { transform: translateY(-101%); box-shadow: none; pointer-events: none; }
@supports (backdrop-filter: blur(14px)) { .cdg-header { background: rgba(252,248,242,.84); backdrop-filter: blur(14px) saturate(1.4); } }
.cdg-header-inner { max-width: var(--cdg-wide); height: 100%; padding: 0 var(--cdg-gutter); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-sizing: content-box; }
.cdg-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.05em; }
.cdg-brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--cdg-coral); box-shadow: 0 0 0 0 rgba(171,85,70,.45); animation: cdg-dot-pulse 2.6s ease-out infinite; }
.cdg-brand-caption { margin-left: 12px; padding-left: 14px; border-left: 1px solid #c5b6aa; font-size: 12px; color: var(--cdg-muted); font-weight: 500; }
.cdg-header-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.cdg-header-nav a { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; min-height: 44px; }
.cdg-header-nav .cdg-icon { width: 15px; height: 15px; }
.cdg-header-contact { border-radius: 40px; background: var(--cdg-ink); color: #fff !important; padding: 0 18px; }

/* ---------- 영상 공통 ---------- */
.cdg-film { position: absolute; inset: 0; overflow: hidden; background: #e7dbd0; }
.cdg-film video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cdg-film-toggle { position: absolute; right: 18px; bottom: 18px; z-index: 4; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(53,44,41,.42); color: #fff !important; transition: background .2s ease, transform .3s var(--cdg-spring); }
@supports (backdrop-filter: blur(8px)) { .cdg-film-toggle { backdrop-filter: blur(8px); } }
.cdg-film-toggle .cdg-icon { width: 18px; height: 18px; }
.cdg-icon--play { fill: currentColor; stroke-width: 1.2; }
.cdg-icon--pause { stroke-width: 2.4; }
.cdg-film .cdg-icon--pause { display: none; }
.cdg-film.is-playing .cdg-icon--pause { display: block; }
.cdg-film.is-playing .cdg-icon--play { display: none; }

/* ---------- 히어로 ---------- */
.cdg-hero { --hero-p: 0; position: relative; background: var(--cdg-paper); }
.cdg-hero-stage { position: relative; min-height: min(calc(100vh - var(--cdg-header-h)), 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #3c302c; transform: scale(calc(1 - var(--hero-p) * .06)); border-radius: calc(var(--hero-p) * 36px); transform-origin: center top; will-change: transform; }
@supports (height: 100svh) { .cdg-hero-stage { min-height: min(calc(100svh - var(--cdg-header-h)), 820px); } }
.cdg-hero-stage::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(45,33,29,.8) 0%, rgba(45,33,29,.42) 38%, rgba(45,33,29,0) 68%), linear-gradient(to right, rgba(45,33,29,.38) 0%, rgba(45,33,29,0) 55%); }
.cdg-film--hero { background: #3c302c; }
.cdg-film--hero video { animation: cdg-kenburns 20s ease-in-out infinite alternate; }
.cdg-film--hero .cdg-film-toggle { right: max(var(--cdg-gutter), calc((100% - var(--cdg-wide)) / 2)); bottom: 56px; }
.cdg-floaters, .cdg-contact-floaters { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cdg-floaters span, .cdg-contact-floaters span { position: absolute; left: var(--x); top: var(--y); font-size: var(--s); line-height: 1; filter: drop-shadow(0 6px 14px rgba(45,33,29,.25)); animation: cdg-float var(--t) ease-in-out var(--d) infinite; }
.cdg-floaters span { opacity: 0; animation: cdg-float var(--t) ease-in-out var(--d) infinite, cdg-fade-in 1.2s ease .9s forwards; }
.cdg-hero-copy { position: relative; z-index: 3; width: 100%; max-width: var(--cdg-wide); margin: 0 auto; padding: 0 var(--cdg-gutter) 56px; box-sizing: content-box; transform: translateY(calc(var(--hero-p) * -70px)); opacity: calc(1 - var(--hero-p) * 1.3); }
.cdg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cdg-tags span { padding: 4px 13px; border: 1px solid rgba(255,255,255,.6); border-radius: 30px; font-size: 13px; line-height: 1.7; background: rgba(255,255,255,.14); }
@supports (backdrop-filter: blur(6px)) { .cdg-tags span { backdrop-filter: blur(6px); } }
.cdg-hero h1 { margin: 20px 0 18px; font-size: clamp(32px,7vw,84px); font-weight: 820; line-height: 1.12; letter-spacing: -.06em; text-shadow: 0 2px 24px rgba(45,33,29,.25); }
.cdg-line { display: block; overflow: hidden; padding-bottom: .06em; }
.cdg-line > span { display: inline-block; animation: cdg-line-up .95s var(--cdg-ease) both; animation-delay: calc(.15s + var(--i) * .12s); }
.cdg-sparkle { display: inline-block; margin-left: .12em; font-size: .6em; vertical-align: .55em; animation: cdg-twinkle 2.4s ease-in-out 1.4s infinite; }
.cdg-rise { animation: cdg-rise .9s var(--cdg-ease) both; animation-delay: calc(.15s + var(--i) * .12s); }
.cdg-hero-description { max-width: 440px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.92); }
.cdg-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 28px; }
.cdg-button { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 24px; border-radius: 40px; background: #fff; color: var(--cdg-ink) !important; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .3s var(--cdg-spring), box-shadow .25s ease; }
.cdg-button .cdg-icon { width: 17px; height: 17px; transition: transform .25s ease; }
.cdg-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; padding: 0; background: none; text-decoration: none; font-size: 14px; font-weight: 650; }
.cdg-text-link .cdg-icon { width: 16px; height: 16px; transition: transform .25s ease; }
.cdg-scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.9) !important; font-size: 12px; text-decoration: none; transform: translateX(-50%); opacity: calc(1 - var(--hero-p) * 4); animation: cdg-rise 1s var(--cdg-ease) 1.1s both; }
.cdg-scroll-mouse { position: relative; width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.85); border-radius: 12px; }
.cdg-scroll-mouse::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cdg-scroll-dot 1.8s ease-in-out infinite; }

/* ---------- 흐르는 안내 띠 ---------- */
.cdg-ticker { overflow: hidden; background: var(--cdg-pink-soft); border-bottom: 1px solid #f6cdd9; }
.cdg-ticker-track { display: flex; width: max-content; animation: cdg-marquee 38s linear infinite; }
.cdg-ticker:hover .cdg-ticker-track { animation-play-state: paused; }
.cdg-ticker span { flex: 0 0 auto; padding: 13px 26px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.cdg-ticker span::after { content: '✦'; margin-left: 52px; color: var(--cdg-pink); }

/* ---------- 핵심 3가지 ---------- */
.cdg-facts { max-width: var(--cdg-wide); margin: 0 auto; padding: 30px var(--cdg-gutter); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; box-sizing: content-box; }
.cdg-facts > div { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 20px 22px; border: 1px solid var(--cdg-line); border-radius: 18px; background: var(--cdg-card); transition: transform .35s var(--cdg-spring), box-shadow .3s ease, border-color .3s ease; }
.cdg-fact-emoji { grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: var(--cdg-pink-soft); font-size: 28px; transition: transform .4s var(--cdg-spring); }
.cdg-facts dt { color: var(--cdg-muted); font-size: 12px; }
.cdg-facts strong { display: block; margin: 1px 0; font-size: 22px; letter-spacing: -.045em; }
.cdg-facts dd span { display: block; color: var(--cdg-muted); font-size: 12px; line-height: 1.6; }

/* ---------- 챕터 탭 (움직이는 알약) ---------- */
.cdg-chapters { position: sticky; top: var(--cdg-header-offset); z-index: 55; height: var(--cdg-nav-h); background: rgba(252,248,242,.94); border-top: 1px solid var(--cdg-line); border-bottom: 1px solid var(--cdg-line); }
@supports (backdrop-filter: blur(12px)) { .cdg-chapters { background: rgba(252,248,242,.82); backdrop-filter: blur(12px); } }
.cdg-chapters-track { position: relative; max-width: var(--cdg-wide); height: 100%; margin: 0 auto; padding: 0 var(--cdg-gutter); overflow-x: auto; scrollbar-width: none; box-sizing: content-box; }
.cdg-chapters-track::-webkit-scrollbar { display: none; }
.cdg-chapters ol { position: relative; z-index: 1; height: 100%; margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 4px; }
.cdg-chapters li { flex: 0 0 auto; }
.cdg-chapters a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 30px; color: var(--cdg-muted); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .25s ease; }
.cdg-tab-emoji { display: inline-block; transition: transform .4s var(--cdg-spring); }
.cdg-chapters a[aria-current='location'] { color: var(--cdg-ink); font-weight: 750; }
.cdg-chapters a[aria-current='location'] .cdg-tab-emoji { transform: scale(1.25) rotate(-8deg); }
.cdg-chapters-pill { position: absolute; z-index: 0; top: 50%; left: 0; height: 40px; width: 0; margin-top: -20px; border-radius: 30px; background: var(--cdg-pink-soft); box-shadow: inset 0 0 0 1px #f6cdd9; opacity: 0; transition: transform .45s var(--cdg-ease), width .45s var(--cdg-ease), opacity .25s ease; }
.cdg-chapters-pill.is-ready { opacity: 1; }

/* ---------- 챕터: 영상 오프너 ---------- */
.cdg-chapter { max-width: var(--cdg-wide); margin: 0 auto; padding: 88px var(--cdg-gutter) 0; box-sizing: content-box; }
.cdg-chapter-opener { --open: 1; --par: 0; position: relative; aspect-ratio: 21 / 9; border-radius: 26px; overflow: hidden; color: #fff; clip-path: inset(calc((1 - var(--open)) * 7%) calc((1 - var(--open)) * 5%) round 26px); will-change: clip-path; }
.cdg-chapter-opener .cdg-film video { transform: translateY(calc(var(--par) * -44px)) scale(1.14); }
.cdg-chapter-opener::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to right, rgba(45,33,29,.64) 0%, rgba(45,33,29,.22) 45%, rgba(45,33,29,0) 70%), linear-gradient(to top, rgba(45,33,29,.38), rgba(45,33,29,0) 45%); }
.cdg-chapter-title { position: absolute; left: 44px; right: 44px; bottom: 40px; z-index: 2; opacity: calc(var(--open) * 1.4 - .4); transform: translateY(calc((1 - var(--open)) * 40px)); }
.cdg-chapter-title p { display: inline-block; margin-bottom: 12px; padding: 3px 14px; border-radius: 30px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.5); font-size: 14px; font-weight: 650; }
@supports (backdrop-filter: blur(6px)) { .cdg-chapter-title p { backdrop-filter: blur(6px); } }
.cdg-chapter-title h2 { font-size: clamp(22px,3.6vw,48px); font-weight: 780; line-height: 1.3; letter-spacing: -.05em; text-shadow: 0 2px 18px rgba(45,33,29,.3); }

/* ---------- 챕터 본문 ---------- */
.cdg-chapter-body { max-width: var(--cdg-read); margin: 0 auto; padding-top: 56px; }
.cdg-block + .cdg-block, .cdg-important + .cdg-block { margin-top: 64px; }
.cdg-block-title { margin-bottom: 20px; font-size: 22px; font-weight: 760; letter-spacing: -.035em; line-height: 1.45; }
.cdg-block-lead { margin: -8px 0 20px; color: var(--cdg-muted); font-size: 15px; }
.cdg-note { margin-top: 22px; padding: 14px 18px; border-radius: 14px; background: #f6efe7; color: var(--cdg-muted); font-size: 13px; line-height: 1.85; }
.sd-clothing h4 { font-size: 16px; font-weight: 700; line-height: 1.55; letter-spacing: -.02em; }

/* 주문 전 확인 */
.cdg-precheck-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.cdg-precheck { padding: 24px 22px; border: 1px solid var(--cdg-line); border-radius: 20px; background: var(--cdg-card); transition: transform .35s var(--cdg-spring), box-shadow .3s ease; }
.cdg-precheck-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 18px; background: var(--cdg-pink-soft); font-size: 28px; line-height: 1; transition: transform .45s var(--cdg-spring); }
.cdg-precheck h3 { margin-bottom: 8px; font-size: 18px; font-weight: 720; }
.cdg-precheck p { color: var(--cdg-muted); font-size: 14px; line-height: 1.85; }

/* 배송 흐름: 스크롤에 맞춰 선이 채워지고 단계가 켜짐 */
.cdg-journey { position: relative; margin: 0 0 16px; padding: 0; list-style: none; }
.cdg-journey::before, .cdg-journey::after { content: ''; position: absolute; top: 26px; bottom: 34px; left: 25px; width: 2px; border-radius: 2px; background: #e6d7cc; }
.cdg-journey::after { width: 3px; left: 24.5px; background: linear-gradient(var(--cdg-pink), var(--cdg-coral)); transform-origin: top; transform: scaleY(var(--journey-progress,0)); }
.cdg-journey li { position: relative; display: flex; gap: 20px; padding-bottom: 24px; }
.cdg-journey li:last-child { padding-bottom: 0; }
.cdg-journey-dot { position: relative; z-index: 1; flex: 0 0 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 2px solid #e6d7cc; border-radius: 50%; background: var(--cdg-card); font-size: 24px; transition: border-color .35s ease, background .35s ease, transform .5s var(--cdg-spring), box-shadow .35s ease; }
.cdg-journey-dot i { position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cdg-ink); color: #fff; font-size: 10px; font-style: normal; font-weight: 700; transition: background .35s ease; }
.cdg-journey li.is-lit .cdg-journey-dot { border-color: var(--cdg-pink); background: var(--cdg-pink-soft); transform: scale(1.08); box-shadow: 0 0 0 6px rgba(247,175,196,.25); }
.cdg-journey li.is-lit .cdg-journey-dot i { background: var(--cdg-coral); }
.cdg-journey h4 { padding-top: 12px; }
.cdg-journey p { color: var(--cdg-muted); font-size: 14px; margin-top: 2px; }

/* 정보 목록 */
.cdg-info-list { border-top: 2px solid var(--cdg-ink); }
.cdg-info-list > div { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 20px; padding: 18px 12px; margin: 0 -12px; border-bottom: 1px solid var(--cdg-line); border-radius: 10px; transition: background .25s ease; }
.cdg-info-list dt { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 700; }
.cdg-dt-emoji { display: inline-block; font-size: 18px; line-height: 1.35; transition: transform .45s var(--cdg-spring); }
.cdg-info-list dd { color: var(--cdg-muted); font-size: 15px; line-height: 1.85; }
.cdg-info-list strong { color: var(--cdg-ink); }

/* 품절 */
.cdg-stock-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.cdg-stock-types li { padding: 7px 15px; border-radius: 30px; background: var(--cdg-pink-soft); border: 1px solid #f6cdd9; font-size: 13px; font-weight: 600; transition: transform .3s var(--cdg-spring); }
.cdg-stock-types.is-visible li { animation: cdg-pop .55s var(--cdg-spring) both; animation-delay: calc(var(--d) * .08s); }
.cdg-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.cdg-pair > div { padding: 20px 22px; border: 1px solid var(--cdg-line); border-radius: 18px; background: var(--cdg-card); }
.cdg-pair h4 { margin-bottom: 6px; }
.cdg-pair p { color: var(--cdg-muted); font-size: 14px; line-height: 1.85; }

/* 교환·반품 */
.cdg-important { display: flex; gap: 16px; padding: 24px 26px; border-radius: 18px; border: 1px solid #edc7bb; background: var(--cdg-blush); }
.cdg-important-mark { flex: 0 0 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; font-size: 26px; box-shadow: 0 4px 14px rgba(171,85,70,.18); }
.cdg-important.is-visible .cdg-important-mark { animation: cdg-wobble 1s ease .35s both; }
.cdg-important h3 { margin-bottom: 8px; font-size: 18px; line-height: 1.5; }
.cdg-important p { font-size: 14px; line-height: 1.9; }
.cdg-fee-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 24px; align-items: center; }
.cdg-fee-sheet { padding: 26px; border: 1px solid #e0d1c6; border-top: 4px solid var(--cdg-pink); border-radius: 18px; background: var(--cdg-card); }
.cdg-fee-sheet .cdg-block-title { margin-bottom: 8px; font-size: 17px; }
.cdg-fee-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px dashed #d5c4b8; }
.cdg-fee-row > span { font-size: 15px; font-weight: 650; }
.cdg-fee-row small { display: block; color: var(--cdg-muted); font-size: 12px; font-weight: 400; }
.cdg-fee-row strong { font-size: 22px; letter-spacing: -.04em; white-space: nowrap; }
.cdg-fee-row:first-of-type strong { color: var(--cdg-coral); font-size: 28px; font-variant-numeric: tabular-nums; }
.cdg-return-art img { width: 100%; border-radius: 18px; transition: transform .5s var(--cdg-ease); }
.cdg-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.cdg-steps li { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--cdg-line); border-radius: 18px; background: var(--cdg-card); transition: transform .35s var(--cdg-spring), box-shadow .3s ease; }
.cdg-step-number { flex: 0 0 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cdg-ink); color: #fff; font-size: 16px; font-weight: 750; }
.cdg-steps p { margin-top: 4px; color: var(--cdg-muted); font-size: 14px; }
.cdg-ready-check { padding: 24px; border: 1px solid #d6c6ba; border-radius: 20px; background: #f7efe6; transition: background .4s ease, border-color .4s ease; }
.cdg-ready-check[data-complete='true'] { background: #eef3ea; border-color: #b9c9b0; }
.cdg-ready-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cdg-ready-status { color: var(--cdg-coral); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cdg-ready-check[data-complete='true'] .cdg-ready-status { color: var(--cdg-sage-ink); }
.cdg-ready-bar { height: 6px; margin-bottom: 16px; border-radius: 6px; background: #eadccf; overflow: hidden; }
.cdg-ready-bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--cdg-pink), var(--cdg-coral)); transition: width .5s var(--cdg-ease), background .4s ease; }
.cdg-ready-check[data-complete='true'] .cdg-ready-bar span { background: linear-gradient(90deg, #9fc28f, var(--cdg-sage-ink)); }
.cdg-ready-items { display: grid; gap: 10px; }
.cdg-ready-items label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.6); cursor: pointer; font-size: 14px; line-height: 1.65; transition: background .25s ease, transform .3s var(--cdg-spring); }
.cdg-ready-items input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cdg-coral); cursor: pointer; }
.cdg-ready-items label:has(input:checked) { background: #fff; }
.cdg-ready-items label:has(input:checked) > span { color: var(--cdg-sage-ink); }
.cdg-ready-items input:checked { animation: cdg-pop .45s var(--cdg-spring); }
.cdg-ready-items small { color: var(--cdg-muted); font-size: 12px; }
.cdg-ready-check > p { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--cdg-line); color: var(--cdg-muted); font-size: 12px; }
.cdg-phone-note { display: flex; gap: 22px; padding: 28px; border-radius: 20px; background: var(--cdg-sage); }
.cdg-phone-icon { position: relative; flex: 0 0 56px; width: 56px; height: 56px; align-self: flex-start; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; font-size: 28px; }
.cdg-phone-icon::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--cdg-sage-ink); opacity: 0; animation: cdg-ring 2.4s ease-out infinite; }
.cdg-phone-note h3 { margin-bottom: 8px; font-size: 19px; }
.cdg-phone-note p { font-size: 14px; line-height: 1.9; }

/* FAQ */
.cdg-chapter--plain .cdg-chapter-body { padding-top: 0; }
.cdg-plain-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: clamp(28px,3vw,40px); font-weight: 780; letter-spacing: -.05em; }
.cdg-title-emoji { display: inline-block; animation: cdg-bob 3s ease-in-out infinite; }
.cdg-faq-search { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 0 20px; border: 1px solid #c5b3a6; border-radius: 40px; background: var(--cdg-card); transition: box-shadow .25s ease, border-color .25s ease; }
.cdg-faq-search:focus-within { border-color: var(--cdg-pink); box-shadow: 0 0 0 4px rgba(247,175,196,.35); }
.cdg-faq-search input { width: 100%; min-width: 0; border: 0; padding: 15px 0; background: transparent; color: var(--cdg-ink); font-size: 15px; outline: none !important; }
.cdg-faq-search input::placeholder { color: var(--cdg-muted); }
.cdg-faq-search input::-webkit-search-cancel-button { display: none; }
.cdg-faq-search button { min-width: 40px; min-height: 44px; border: 0; background: none; font-size: 24px; }
.cdg-faq-list { display: grid; gap: 10px; }
.cdg-faq-item { border: 1px solid var(--cdg-line); border-radius: 16px; background: var(--cdg-card); transition: border-color .25s ease, box-shadow .25s ease; }
.cdg-faq-item[open] { border-color: #f1bccb; box-shadow: 0 8px 26px rgba(171,85,70,.08); }
.cdg-faq-item summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 650; line-height: 1.6; }
.cdg-faq-item summary::-webkit-details-marker { display: none; }
.cdg-faq-emoji { flex: 0 0 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--cdg-pink-soft); font-size: 20px; transition: transform .45s var(--cdg-spring); }
.cdg-faq-item[open] .cdg-faq-emoji { transform: rotate(-10deg) scale(1.1); }
.cdg-faq-plus { margin-left: auto; width: 18px; height: 18px; transition: transform .3s var(--cdg-spring); }
.cdg-faq-item[open] .cdg-faq-plus { transform: rotate(135deg); }
.cdg-faq-item[open] summary { color: var(--cdg-coral); }
.cdg-faq-answer { overflow: hidden; }
.cdg-faq-answer p { padding: 0 24px 22px 74px; color: var(--cdg-muted); font-size: 14px; line-height: 1.95; }
.cdg-faq-empty { padding: 32px 20px; color: var(--cdg-muted); font-size: 14px; text-align: center; }
.cdg-faq-empty .cdg-text-link { margin-top: 10px; color: var(--cdg-ink); }

/* 문의 */
.cdg-contact { position: relative; overflow: hidden; margin-top: 104px; padding: 84px var(--cdg-gutter) 64px; background: radial-gradient(120% 90% at 100% 0%, #5a4038 0%, #3c302c 55%); color: var(--cdg-paper); }
.cdg-contact-floaters span { opacity: .55; }
.cdg-contact-inner { position: relative; z-index: 3; max-width: var(--cdg-read); margin: 0 auto; }
.cdg-contact h2 { font-size: clamp(28px,3.4vw,42px); font-weight: 750; line-height: 1.4; letter-spacing: -.05em; }
.cdg-contact-lead { margin-top: 16px; color: #dfd0c6; font-size: 15px; line-height: 1.9; }
.cdg-contact-lead strong { color: #fff; }
.cdg-contact-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 32px; }
.cdg-contact-links > a { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid #78645a; border-radius: 16px; background: rgba(255,255,255,.04); text-decoration: none; transition: background .25s ease, border-color .25s ease, transform .35s var(--cdg-spring); }
.cdg-contact-icon { flex: 0 0 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(255,255,255,.1); font-size: 24px; transition: transform .45s var(--cdg-spring); }
.cdg-contact-links small { display: block; color: #deccc0; font-size: 11px; line-height: 1.6; }
.cdg-contact-links strong { display: block; margin-top: 2px; font-size: 15px; }
.cdg-contact-details { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 30px; }
.cdg-contact-details > div { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.cdg-contact-details > div > span { color: #deccc0; font-size: 12px; }
.cdg-contact-details a { text-decoration: none; }
.cdg-copy { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px; border: 1px solid #78645a; border-radius: 30px; background: transparent; font-size: 11px !important; transition: background .2s ease; }
.cdg-copy .cdg-icon { width: 13px; height: 13px; }
.cdg-contact-tip { margin-top: 18px; color: #deccc0; font-size: 12px; }

/* 푸터·기타 */
.cdg-footer { padding: 32px var(--cdg-gutter); background: var(--cdg-paper); }
.cdg-footer-inner { max-width: var(--cdg-wide); margin: auto; }
.cdg-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cdg-footer-top > p { font-size: 13px; }
.cdg-footer-top nav { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--cdg-muted); font-size: 12px; }
.cdg-footer-top a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.cdg-business-info { margin-top: 18px; color: var(--cdg-muted); font-size: 11px; line-height: 1.85; }
.cdg-back-top { position: fixed; right: 24px; bottom: max(24px,env(safe-area-inset-bottom)); z-index: 50; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: var(--cdg-card); box-shadow: 0 6px 20px rgba(73,60,48,.16); animation: cdg-pop .5s var(--cdg-spring); }
.cdg-back-top .cdg-icon { position: relative; width: 20px; height: 20px; }
.cdg-back-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 3; }
.cdg-back-ring circle { stroke: #eadccf; }
.cdg-back-ring .cdg-back-ring-fill { stroke: var(--cdg-coral); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.cdg-toast { position: fixed; left: 50%; bottom: max(26px,env(safe-area-inset-bottom)); z-index: 80; max-width: calc(100vw - 120px); padding: 11px 19px; border-radius: 30px; background: var(--cdg-ink); color: #fff; font-size: 13px; box-shadow: 0 5px 30px #352c2940; opacity: 0; transform: translate(-50%,15px) scale(.95); pointer-events: none; transition: opacity .25s ease, transform .35s var(--cdg-spring); }
.cdg-toast.is-visible { opacity: 1; transform: translate(-50%,0) scale(1); }
.cdg-confetti { position: fixed; inset: 0; z-index: 85; pointer-events: none; overflow: hidden; }
.cdg-confetti span { position: absolute; font-size: 22px; line-height: 1; animation: cdg-burst 1.1s cubic-bezier(.15,.7,.3,1) forwards; }

/* ---------- 스크롤 따라 달리는 배송 트럭 ---------- */
.cdg-road { position: relative; height: 86px; margin: 4px 0 26px; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #fdf3ec 0%, #fdeef3 55%, var(--cdg-sage) 56%, #dfe8d8 100%); border: 1px solid var(--cdg-line); }
.cdg-road::before { content: ''; position: absolute; left: 0; right: 0; bottom: 22px; border-top: 3px dashed rgba(255,255,255,.95); }
.cdg-road::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: #cbb9a6; }
.cdg-road-pin { position: absolute; top: 8px; z-index: 2; display: flex; align-items: center; gap: 5px; font-size: 21px; line-height: 1; }
.cdg-road-pin small { font-size: 11px; font-weight: 700; color: var(--cdg-muted); background: rgba(255,252,248,.85); padding: 2px 8px; border-radius: 20px; }
.cdg-road-pin--start { left: 12px; }
.cdg-road-pin--end { right: 12px; flex-direction: row-reverse; }
.cdg-road-truck { position: absolute; z-index: 3; bottom: 16px; left: 10px; font-size: 36px; line-height: 1; will-change: transform; filter: drop-shadow(0 3px 4px rgba(53,44,41,.25)); }
.cdg-road-truck.is-arrived { animation: cdg-arrive .6s var(--cdg-spring); }
@keyframes cdg-arrive { 0% { scale: 1; } 45% { scale: 1.3; rotate: -6deg; } 100% { scale: 1; } }

/* ---------- 눌러서 여는 택배 상자 ---------- */
.cdg-boxplay { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 30px 20px 26px; border: 1px dashed #d9c3b2; border-radius: 22px; background: #fff8f1; }
.cdg-box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 26px 4px; background: none; border: 0; border-radius: 18px; }
.cdg-box-face { font-size: 84px; line-height: 1.1; display: inline-block; transition: transform .5s var(--cdg-spring); }
.cdg-box:hover .cdg-box-face { transform: translateY(-4px) rotate(-3deg); }
.cdg-box-hint { font-size: 13px; font-weight: 700; color: var(--cdg-coral); }
.cdg-boxplay.is-open .cdg-box-face { animation: cdg-wobble .8s ease; }
.cdg-box-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cdg-box-items li { padding: 8px 16px; border-radius: 30px; background: var(--cdg-pink-soft); border: 1px solid #f6cdd9; font-size: 13.5px; font-weight: 650; animation: cdg-pop .55s var(--cdg-spring) both; animation-delay: calc(var(--d) * .12s); }
.cdg-box-done { font-size: 14.5px; font-weight: 650; color: var(--cdg-sage-ink); animation: cdg-pop .55s var(--cdg-spring) both; }

/* ---------- 히어로 패럴랙스 + 반짝이 자취 ---------- */
.cdg-hero-stage { --px: 0; --py: 0; }
.cdg-hero .cdg-floaters span { translate: calc(var(--px) * var(--depth, 14px)) calc(var(--py) * var(--depth, 14px)); }
.cdg-hero .cdg-floaters span:nth-child(2) { --depth: 26px; }
.cdg-hero .cdg-floaters span:nth-child(3) { --depth: 20px; }
.cdg-hero .cdg-floaters span:nth-child(4) { --depth: 32px; }
.cdg-hero .cdg-floaters span:nth-child(5) { --depth: 18px; }
.cdg-hero-copy { translate: calc(var(--px) * -8px) calc(var(--py) * -8px); }
.cdg-sparkles { position: fixed; inset: 0; z-index: 84; pointer-events: none; overflow: hidden; }
.cdg-sparkles span { position: absolute; line-height: 1; animation: cdg-sparkle-fall .9s ease-out forwards; }
@keyframes cdg-sparkle-fall { 0% { transform: translateY(0) scale(.5) rotate(0); opacity: 1; } 100% { transform: translateY(46px) scale(1.15) rotate(70deg); opacity: 0; } }

/* FAQ 오프너가 생기면 본문 윗여백 복원, 마무리 챕터 간격 */
.cdg-chapter--plain .cdg-chapter-opener + .cdg-chapter-body { padding-top: 56px; }
.cdg-chapter--finale { padding-bottom: 88px; }

/* 파동 */
[data-ripple] { position: relative; overflow: hidden; isolation: isolate; }
.cdg-ripple { position: absolute; z-index: -1; border-radius: 50%; background: currentColor; opacity: .16; transform: scale(0); pointer-events: none; animation: cdg-ripple .65s ease-out forwards; }

/* 순차 등장 (JS가 있을 때만 숨김 처리) */
.will-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s var(--cdg-ease); transition-delay: calc(var(--d, 0) * .09s); }
.will-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 키프레임 ---------- */
@keyframes cdg-kenburns { from { transform: scale(1.03); } to { transform: scale(1.13) translate(-1.5%, -1%); } }
@keyframes cdg-float { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(8deg); } }
@keyframes cdg-fade-in { to { opacity: .95; } }
@keyframes cdg-line-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes cdg-rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes cdg-twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.35) rotate(18deg); opacity: .75; } }
@keyframes cdg-scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes cdg-marquee { to { transform: translateX(-50%); } }
@keyframes cdg-pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes cdg-wobble { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-14deg) scale(1.1); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }
@keyframes cdg-ring { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes cdg-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px) rotate(-6deg); } }
@keyframes cdg-dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(171,85,70,.45); } 70%,100% { box-shadow: 0 0 0 9px rgba(171,85,70,0); } }
@keyframes cdg-ripple { to { transform: scale(2.6); opacity: 0; } }
@keyframes cdg-burst { 0% { transform: translate(0,0) scale(.4) rotate(0); opacity: 1; } 100% { transform: translate(var(--bx), var(--by)) scale(1.1) rotate(var(--br)); opacity: 0; } }

/* ---------- 마우스가 있는 기기의 반응 ---------- */
@media (hover: hover) and (pointer: fine) {
  .cdg-button:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 26px rgba(45,33,29,.28); }
  .cdg-button:hover .cdg-icon, .cdg-text-link:hover .cdg-icon { transform: translateX(4px); }
  .cdg-film-toggle:hover { background: rgba(53,44,41,.66); transform: scale(1.08); }
  .cdg-facts > div:hover, .cdg-precheck:hover, .cdg-steps li:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(171,85,70,.12); border-color: #f1bccb; }
  .cdg-facts > div:hover .cdg-fact-emoji, .cdg-precheck:hover .cdg-precheck-icon { transform: scale(1.15) rotate(-10deg); }
  .cdg-info-list > div:hover { background: var(--cdg-pink-soft); }
  .cdg-info-list > div:hover .cdg-dt-emoji { transform: scale(1.3) rotate(-12deg); }
  .cdg-stock-types li:hover { transform: translateY(-3px) rotate(-2deg); }
  .cdg-return-art:hover img { transform: scale(1.03) rotate(-.6deg); }
  .cdg-ready-items label:hover { background: #fff; transform: translateX(4px); }
  .cdg-faq-item:hover { border-color: #f1bccb; }
  .cdg-faq-item summary:hover { color: var(--cdg-coral); }
  .cdg-faq-item summary:hover .cdg-faq-emoji { transform: scale(1.15) rotate(-8deg); }
  .cdg-chapters a:hover { color: var(--cdg-ink); }
  .cdg-chapters a:hover .cdg-tab-emoji { transform: scale(1.2) rotate(-8deg); }
  .cdg-contact-links > a:hover { background: rgba(255,255,255,.1); border-color: var(--cdg-pink); transform: translateY(-4px); }
  .cdg-contact-links > a:hover .cdg-contact-icon { transform: scale(1.15) rotate(-10deg); }
  .cdg-copy:hover { background: rgba(255,255,255,.12); }
  .cdg-back-top:hover { transform: translateY(-3px); }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1000px) {
  .cdg-facts { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 900px) {
  :root { --cdg-header-h: 68px; --cdg-nav-h: 54px; --cdg-gutter: 26px; }
  .cdg-chapter { padding-top: 72px; }
  .cdg-chapter-opener { aspect-ratio: 16 / 9; border-radius: 20px; }
  .cdg-chapter-title { left: 30px; right: 30px; bottom: 28px; }
  .cdg-scroll-cue { display: none; }
  .cdg-precheck-grid { grid-template-columns: 1fr; gap: 12px; }
  .cdg-precheck { display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: 16px; }
  .cdg-precheck-icon { grid-row: span 2; margin-bottom: 0; }
  .cdg-contact-links > a { padding: 18px 14px; gap: 10px; }
  .cdg-footer-top { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 600px) {
  :root { --cdg-header-h: 62px; --cdg-nav-h: 52px; --cdg-gutter: 20px; }
  .cdg-brand { font-size: 19px; }
  .cdg-brand-caption { display: none; }
  .cdg-header-nav { gap: 12px; font-size: 12px; }
  .cdg-header-contact { padding: 0 13px; }
  .cdg-hero-stage { min-height: min(calc(100vh - var(--cdg-header-h)), 700px); }
  @supports (height: 100svh) { .cdg-hero-stage { min-height: min(calc(100svh - var(--cdg-header-h)), 700px); } }
  .cdg-hero-stage::after { background: linear-gradient(to top, rgba(45,33,29,.86) 0%, rgba(45,33,29,.5) 45%, rgba(45,33,29,.05) 75%); }
  .cdg-floaters span { font-size: calc(var(--s) * .72); }
  .cdg-floaters span:nth-child(n+4) { display: none; }
  .cdg-hero-copy { padding-bottom: 36px; }
  .cdg-hero h1 { font-size: clamp(28px,8.6vw,54px); margin: 16px 0 14px; }
  .cdg-hero-description { font-size: 15px; }
  .cdg-hero-actions { margin-top: 22px; gap: 6px 18px; }
  .cdg-button { min-height: 48px; padding: 0 20px; font-size: 13px; }
  .cdg-hero-actions .cdg-text-link { font-size: 13px; }
  .cdg-film--hero .cdg-film-toggle { top: 16px; right: 16px; bottom: auto; }
  .cdg-ticker span { padding: 11px 18px; font-size: 13px; }
  .cdg-ticker span::after { margin-left: 36px; }
  .cdg-facts { padding-top: 20px; padding-bottom: 8px; }
  .cdg-facts > div { padding: 14px 16px; column-gap: 14px; }
  .cdg-fact-emoji { width: 46px; height: 46px; font-size: 23px; border-radius: 14px; }
  .cdg-facts strong { font-size: 18px; }
  .cdg-chapters a { padding: 0 12px; font-size: 13px; min-height: 38px; }
  .cdg-chapters-pill { height: 38px; margin-top: -19px; }
  .cdg-chapter { padding-top: 56px; }
  .cdg-chapter-opener { aspect-ratio: 4 / 5; border-radius: 18px; clip-path: inset(calc((1 - var(--open)) * 5%) calc((1 - var(--open)) * 4%) round 18px); }
  .cdg-chapter-opener::after { background: linear-gradient(to top, rgba(45,33,29,.74) 0%, rgba(45,33,29,.25) 45%, rgba(45,33,29,0) 70%); }
  .cdg-chapter-title { left: 20px; right: 20px; bottom: 22px; }
  .cdg-chapter-title h2 { font-size: 26px; }
  .cdg-film-toggle { top: 14px; right: 14px; bottom: auto; width: 40px; height: 40px; }
  .cdg-chapter-body { padding-top: 40px; }
  .cdg-block + .cdg-block, .cdg-important + .cdg-block { margin-top: 48px; }
  .cdg-block-title { font-size: 20px; }
  .cdg-precheck { padding: 18px; }
  .cdg-precheck-icon { width: 46px; height: 46px; font-size: 23px; border-radius: 14px; }
  .cdg-precheck h3 { font-size: 17px; margin-bottom: 4px; }
  .cdg-info-list > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 8px; margin: 0 -8px; }
  .cdg-info-list dd { font-size: 14px; }
  .cdg-pair, .cdg-steps, .cdg-fee-layout { grid-template-columns: 1fr; }
  .cdg-pair, .cdg-steps { gap: 12px; }
  .cdg-journey-dot { flex-basis: 46px; height: 46px; font-size: 21px; }
  .cdg-journey::before, .cdg-journey::after { left: 22px; }
  .cdg-journey::after { left: 21.5px; }
  .cdg-journey h4 { padding-top: 9px; font-size: 15px; }
  .cdg-important { padding: 20px 18px; gap: 12px; }
  .cdg-important-mark { flex-basis: 40px; height: 40px; font-size: 22px; }
  .cdg-important h3 { font-size: 17px; }
  .cdg-important p { font-size: 13px; }
  .cdg-fee-sheet { padding: 22px 20px; }
  .cdg-fee-row strong { font-size: 18px; }
  .cdg-fee-row:first-of-type strong { font-size: 23px; }
  .cdg-return-art { max-width: 380px; margin: 0 auto; }
  .cdg-steps li { padding: 16px; }
  .cdg-ready-check { padding: 20px 16px; }
  .cdg-ready-head { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cdg-ready-items label { font-size: 13px; }
  .cdg-phone-note { flex-direction: column; gap: 14px; padding: 22px 20px; }
  .cdg-phone-note h3 { font-size: 18px; }
  .cdg-phone-note p { font-size: 13px; }
  .cdg-faq-item summary { gap: 12px; padding: 15px 16px; font-size: 15px; }
  .cdg-faq-emoji { flex-basis: 34px; height: 34px; font-size: 17px; }
  .cdg-faq-answer p { padding: 0 16px 18px 62px; font-size: 13px; }
  .cdg-contact { margin-top: 80px; padding: 56px 20px 44px; }
  .cdg-contact-floaters span { font-size: calc(var(--s) * .7); opacity: .35; }
  .cdg-contact h2 { font-size: 27px; }
  .cdg-contact-lead { font-size: 14px; }
  .cdg-contact-links { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .cdg-contact-links > a { padding: 14px 16px; }
  .cdg-contact-details { display: grid; gap: 12px; margin-top: 24px; }
  .cdg-contact-details > div > span { flex-basis: 72px; }
  .cdg-footer { padding: 26px 20px; }
  .cdg-business-info { font-size: 10px; }
  .cdg-back-top { right: 14px; bottom: max(16px,env(safe-area-inset-bottom)); width: 46px; height: 46px; }
  .cdg-toast { max-width: calc(100vw - 90px); font-size: 12px; }
}
@media (max-width: 360px) {
  .cdg-all-guides { font-size: 11px; }
  .cdg-hero h1 { font-size: 28px; }
  .cdg-chapter-title h2 { font-size: 23px; }
}

/* ---------- 동작 줄이기: 움직임을 모두 끄고 최종 상태로 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sd-clothing *, .sd-clothing *::before, .sd-clothing *::after { animation: none !important; transition: none !important; }
  .cdg-floaters span { opacity: .95; }
  .cdg-hero-stage { transform: none; border-radius: 0; }
  .cdg-hero-copy { transform: none; opacity: 1; }
  .cdg-chapter-opener { clip-path: inset(0 round 26px); }
  .cdg-chapter-opener .cdg-film video { transform: none; }
  .cdg-chapter-title { opacity: 1; transform: none; }
  .will-reveal { opacity: 1; transform: none; }
  .cdg-ticker-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .cdg-ticker-track span:nth-child(n+7) { display: none; }
}

@media print {
  html { scroll-behavior: auto; }
  .cdg-header, .cdg-chapters, .cdg-reading-line, .cdg-back-top, .cdg-toast, .cdg-faq-search, .cdg-copy, .cdg-hero-actions, .cdg-film-toggle, .cdg-ready-status, .cdg-ticker, .cdg-floaters, .cdg-contact-floaters, .cdg-scroll-cue, .cdg-confetti, .cdg-road, .cdg-boxplay, .cdg-sparkles { display: none !important; }
  .sd-clothing { background: #fff; color: #222; font-size: 10pt; }
  .cdg-hero-stage { min-height: 0; color: #222; background: none; transform: none; }
  .cdg-hero-stage::after, .cdg-chapter-opener::after, .cdg-film { display: none; }
  .cdg-hero-copy { padding: 0; transform: none; opacity: 1; }
  .cdg-hero h1 { font-size: 30pt; text-shadow: none; }
  .cdg-line > span, .cdg-rise { animation: none; }
  .cdg-hero-description, .cdg-tags span { color: #444; border-color: #999; }
  .cdg-chapter { padding-top: 24px; }
  .cdg-chapter-opener { aspect-ratio: auto; color: #222; clip-path: none; }
  .cdg-chapter-title { position: static; opacity: 1; transform: none; }
  .cdg-chapter-title h2 { text-shadow: none; font-size: 20pt; }
  .cdg-chapter-body { max-width: none; padding-top: 12px; }
  .will-reveal { opacity: 1; transform: none; }
  .cdg-contact { margin-top: 24px; padding: 20px; background: #f5f2ee; color: #222; }
  .cdg-contact-lead, .cdg-contact small, .cdg-contact-details > div > span, .cdg-contact-tip { color: #444; }
  .cdg-faq-item { break-inside: avoid; }
  .cdg-faq-item:not([open]) .cdg-faq-answer { display: block; }
}
