/*
 * 2026-11 renew design tokens
 * shop_layout 에서 components.css 보다 먼저 <link>. 폰트 파일은 custom.css / shop_layout.
 * 기준 시안: 20261117 감도 html (sense2_tokens)
 * 시안 별칭: ink / muted / placeholder / sage=accent / mist / linen=bg / stone=bg-warm / line / border
 */
:root {
	/* color */
	--renew-ink: #14323A;
	--renew-ink-deep: #0B2229; /* 버튼 hover fill */
	--renew-muted: #53666B;
	--renew-placeholder: #69797D; /* 입력 안내 글자 · 흰 바탕 4.5:1 (입력값은 ink) */
	--renew-line: #E2E1DD;
	--renew-border: #949C9B;
	--renew-disabled: #B9BEBD; /* 비활성 · 칩 기본 테두리 */
	--renew-bg: #F6F5F2; /* linen — 푸터 */
	--renew-bg-warm: #F4F3F0; /* stone — 상품 이미지 배경 */
	--renew-bg-paper: #F4EFE6;
	--renew-bg-mist: #E3E8E4; /* mist — route 섹션 */
	--renew-surface: #FFFFFF;
	--renew-accent: #137382; /* sage */
	--renew-error: #B42318;
	--renew-warn: #9A3412;
	/* cit_type 플래그 알약 (흰 바탕 4.5:1) */
	--renew-flag-special: #0B7480; /* cit_type1 */
	--renew-flag-coupon: #B8336A; /* cit_type4 */
	--renew-flag-express: #47730E; /* cit_type5 */
	--renew-flag-freebie: #B93E0A; /* cit_type6 */

	/* type — families (시안: EN Inter · TH Noto Sans Thai · KO Noto Sans KR · Prompt 제외)
	 * 각 주 폰트 뒤 OS/언어 기본 폴백을 충분히 둠. html:lang 전환 시 --renew-sans / --renew-serif 재매핑 */
	--renew-sans-en: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--renew-sans-th: 'Noto Sans Thai', 'Thonburi', 'Leelawadee UI', 'Cordia New', Tahoma, Inter, system-ui, sans-serif;
	--renew-sans-vi: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--renew-sans-ko: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', Dotum, '돋움', Inter, system-ui, sans-serif;
	--renew-sans: Inter, 'Noto Sans Thai', 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	/* EN 세리프 — 헤더·푸터 등 영어 UI 고정 (언어 전환과 무관) */
	--renew-serif-en: 'Instrument Serif', Taviraj, Georgia, 'Times New Roman', Times, serif; /* Instrument Serif 에 ฿(U+0E3F)가 없어 Taviraj 가 대신 그린다 */
	--renew-serif: var(--renew-serif-en); /* 본문·콘텐츠용 — html:lang 시 th/vi/ko로 재매핑 */
	--renew-serif-th: Taviraj, 'Thonburi', 'Cordia New', 'Instrument Serif', Georgia, 'Times New Roman', Times, serif; /* weight 300 */
	--renew-serif-vi: Newsreader, 'Instrument Serif', Taviraj, Georgia, 'Times New Roman', Times, serif; /* weight 300 */
	--renew-serif-ko: 'Gowun Batang', Batang, '바탕', 'Apple Myungjo', 'Nanum Myeongjo', 'Instrument Serif', Taviraj, Georgia, serif;
	--renew-ls-cap: 0.08em;
	--renew-ls-tight: -0.01em;

	/* type — size PC */
	--renew-fs-display: 220px;
	--renew-fs-wordmark: 205px;
	--renew-fs-h1: 88px;
	--renew-fs-h2: 64px;
	--renew-fs-h3: 32px;
	--renew-fs-product: 20px;
	--renew-fs-lead: 22px;
	--renew-fs-body: 14px;
	--renew-fs-small: 13px;
	--renew-fs-cap: 11px;
	--renew-fs-btn: 14px;

	/* type — size mobile */
	--renew-fs-display-m: 84px;
	--renew-fs-wordmark-m: 104px;
	--renew-fs-h1-m: 52px;
	--renew-fs-h2-m: 40px;
	--renew-fs-h3-m: 28px;
	--renew-fs-product-m: 17px;
	--renew-fs-lead-m: 18px;
	--renew-fs-body-m: 14px;
	--renew-fs-small-m: 12px;
	--renew-fs-cap-m: 11px;

	/* type — line-height */
	--renew-lh-display: 0.8;
	--renew-lh-wordmark: 0.9;
	--renew-lh-h1: 0.9;
	--renew-lh-h2: 1;
	--renew-lh-h3: 1.05;
	--renew-lh-product: 1.2;
	--renew-lh-lead: 1.4;
	--renew-lh-body: 1.7;
	--renew-lh-small: 1.5;
	--renew-lh-cap: 1;
	--renew-lh-cjk: 1.15; /* th · vi · ko serif */

	/* space — 4 → 120 */
	--renew-space-1: 4px;
	--renew-space-2: 8px;
	--renew-space-3: 12px;
	--renew-space-4: 16px;
	--renew-space-5: 24px;
	--renew-space-6: 32px;
	--renew-space-7: 48px;
	--renew-space-8: 64px;
	--renew-space-9: 96px;
	--renew-space-10: 120px;
	--renew-section-y: 120px; /* PC 섹션 사이 112–140 중간 */
	--renew-section-y-m: 56px; /* 모바일 44–64 중간 */

	/* layout */
	--renew-max: 1360px;
	--renew-pad-x: 56px;
	--renew-pad-x-tab: 28px;
	--renew-pad-x-m: 16px;
	--renew-gap-grid: 24px;
	--renew-gap-grid-m: 12px;
	--renew-touch: 44px;
	--renew-bp: 991px;
	/* bleed media — hero/bloom 1920 · selected는 --renew-max · 초과 폭 흰 페이드 */
	--renew-hero-max-w: 1920px;
	--renew-hero-max-h: 940px;
	--renew-hero-min-h: 480px;
	/* route — 도시 한 칸 이동 거리 (PC 236 · M 118) */
	--renew-route-step: 236px;
	--renew-route-step-m: 118px;

	/* radius */
	--renew-radius-none: 0;
	--renew-radius-label: 3px;
	--renew-radius-pill: 999px;

	/* elevation · focus */
	--renew-shadow-pop: 0 24px 48px rgba(20, 50, 58, 0.14);
	--renew-focus: 2px solid var(--renew-accent);
	--renew-focus-offset: 3px;

	/* motion */
	--renew-dur-fast: 0.18s;
	--renew-dur: 0.24s;
	--renew-dur-slow: 0.32s;
	--renew-dur-hero: 0.9s;
	--renew-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	/* control */
	--renew-btn-h: 52px;

	/* header */
	--renew-header-h: 92px;
	--renew-header-h-m: 58px;
	--renew-header-ticker-h: 36px;
}

@media (prefers-reduced-motion: reduce) {
	:root {
		--renew-dur-fast: 0s;
		--renew-dur: 0s;
		--renew-dur-slow: 0s;
		--renew-dur-hero: 0s;
	}
}
