/* ============================================================
   템플릿·모듈 상세 — 디자인킷 레퍼런스(design_view/7o7KyZ) 구조, 톤만 플럭스허브 (2026-10-07)
   수치는 레퍼런스 실측값 그대로: 제목 25(모바일 20→17) / 소제목 18 / 본문 14 / 안내 13 / 보더 1px
   좌 60% · 우 40% (1280 → 768 / 512), 900px 이하는 미리보기 → 구매 → 상세 순으로 쌓는다.
   색은 renewal 토큰(--v2-*)만 쓴다. 이 파일에 색 값을 직접 쓰지 않는다. 라임은 고른 칩 같은 '선택된 면'에만.
   ============================================================ */

/* 1. 토큰 */
.fdt {
	--fdt-ink: var(--v2-ink, var(--fs-ink));
	--fdt-ink-2: var(--v2-ink-2, var(--fs-ink-2));
	--fdt-ink-3: var(--v2-ink-3, var(--fs-ink-3));
	--fdt-ink-4: var(--v2-ink-4, var(--fs-ink-4));
	--fdt-bg: var(--v2-bg, var(--fs-bg));
	--fdt-surface: var(--v2-surface, var(--fs-bg-soft));
	--fdt-line: var(--v2-line, var(--fs-line-strong));
	--fdt-lime-soft: var(--v2-lime-soft, var(--fs-accent-soft));
	--fdt-top: 96px; /* sticky 탭·구매 영역이 고정 헤더 아래에 붙는 위치 */
	font-size: 15px;
	line-height: 1.45;
	color: var(--fdt-ink-3);
	font-family: inherit;
}
.fdt *, .fdt *::before, .fdt *::after { box-sizing: border-box; }
.fdt button { font-family: inherit; }
.fdt a { color: inherit; }
.fdt img { max-width: 100%; height: auto; }
.fdt [id^="fdt-"] { scroll-margin-top: calc(var(--fdt-top) + 56px); }

/* 포커스 — 키보드 탐색 */
.fdt a:focus-visible,
.fdt button:focus-visible,
.fdt [tabindex]:focus-visible,
.fdt .fdt-chip input:focus-visible + span {
	outline: 2px solid var(--fdt-ink);
	outline-offset: 2px;
}

/* 2. 레이아웃 — 기존 .fs-wrap(1200) 안에서 레퍼런스 폭(1280)을 쓴다 */
body .fs-section > .fs-wrap:has(.fdt),
body.fx-v2 .fs-section > .fs-wrap:has(.fdt) { max-width: none; padding-left: 0; padding-right: 0; }
body .fs-section:has(> .fs-wrap .fdt),
body.fx-v2 .fs-section:has(> .fs-wrap .fdt) { padding-top: 0; padding-bottom: 0; }
.fdt__wrap {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	grid-template-areas: "sample cost" "info cost";
	grid-template-rows: auto 1fr;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 0 40px;
	border-bottom: 1px solid var(--fdt-line);
}
/* zPoyEr: 위 60px 는 칸 안으로 넣어, 좌우를 가르는 세로선(x768)이 머리말 바로 아래부터 끝까지 이어진다 */
.fdt__sample { grid-area: sample; min-width: 0; padding: 60px 20px 0; }
.fdt__info { grid-area: info; min-width: 0; padding: 30px 20px 0; }
.fdt__cost { grid-area: cost; min-width: 0; padding: 60px 20px 0 19px; border-left: 1px solid var(--fdt-line); }

/* 3. 제목 + 미리보기 박스 */
.fdt .fdt__title { margin: 0 0 20px; font-size: 25px; font-weight: 700; line-height: 1.45; letter-spacing: 0; color: var(--fdt-ink); word-break: keep-all; }
.fdt-box { padding: 25px 30px 35px; border: 1px solid var(--fdt-line); }
.fdt-box.fdt-box--bare { padding: 0; border: 0; } /* 기능 상품에 미리보기 이미지가 없을 때: 샘플 보기 버튼만 남긴다 */
.fdt-box__info { padding: 8px 15px; font-size: 12px; line-height: 28px; color: var(--fdt-ink-3); background: var(--fdt-surface); }
.fdt-box__scr { margin: 20px 0; text-align: center; }
.fdt-box__img { display: block; width: 100%; height: auto; margin: 0 auto; }
.fdt-box__img[hidden] { display: none; }
.fdt-box__empty { display: flex; align-items: center; justify-content: center; min-height: 320px; margin: 0; font-size: 14px; color: var(--fdt-ink-3); background: var(--fdt-surface); }
.fdt-box__img--mobile { max-width: 375px; border: 1px solid var(--fdt-line); }
.fdt-box__ps { margin: 0; font-size: 12.5px; line-height: 1.45; text-align: center; color: var(--fdt-ink-2); }
.fdt-box__btns { display: flex; gap: 10px; margin-top: 10px; }
.fdt-box__btn {
	flex: 1 1 0;
	display: flex; align-items: center; justify-content: center;
	min-height: 50px;
	padding: 0 12px;
	font-size: 14px; font-weight: 600;
	color: var(--fdt-ink);
	background: var(--fdt-bg);
	border: 1px solid var(--fdt-line);
	border-radius: 0;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}
.fdt-box__btn:hover { background: var(--fdt-surface); border-color: var(--fdt-ink); }
.fdt-box__btn.is-on { background: var(--fdt-lime-soft); border-color: var(--fdt-ink); } /* 선택된 면 */

/* 4. 우측 sticky 구매 영역 */
.fdt-side { position: sticky; top: var(--fdt-top); margin: 0 0 50px; }
.fdt-side__pill { display: inline-block; height: 28px; margin: 0 0 10px; padding: 0 15px; font-size: 12px; font-weight: 500; line-height: 28px; color: var(--fdt-ink-3); background: var(--fdt-surface); border-radius: 20px; }
.fdt-side__t1 { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.fdt-side__name { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.45; color: var(--fdt-ink); word-break: keep-all; }
.fdt-side__icons { display: flex; align-items: center; flex: none; }
.fdt-icon { display: inline-flex; align-items: center; gap: 4px; min-width: 44px; height: 44px; margin: -6px 0; padding: 0 8px; font-size: 14px; font-weight: 600; color: var(--fdt-ink-3); background: none; border: 0; cursor: pointer; transition: color .2s ease; }
/* 찜 버튼은 fluxshop 목록 카드용 규칙(.fhs-wishlist-btn: 절대위치·원형·흰 면)을 받으므로 되돌린다 */
.fdt .fdt-icon.fhs-wishlist-btn { position: static; top: auto; right: auto; width: auto !important; min-width: 44px; height: 44px !important; background: none; border-radius: 0; box-shadow: none; justify-content: flex-start; font-size: 14px; }
.fdt .fdt-icon.fhs-wishlist-btn:hover, .fdt .fdt-icon.fhs-wishlist-btn.active { background: none; color: var(--fdt-ink); }
.fdt-icon:hover, .fdt-icon.active, .fdt-icon.copied { color: var(--fdt-ink); }
.fdt-icon.active svg { fill: currentColor; }
.fdt-side__t2 { margin-top: 0; padding: 15px 0 10px; font-size: 13px; line-height: 13px; color: var(--fdt-ink-3); border-bottom: 2px solid var(--fdt-ink); }
.fdt-side__t1 + .fdt-opts, .fdt-side__t2 + .fdt-opts { margin-top: 0; }
.fdt-opts { padding: 20px 0 0; }
.fdt-opt { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; }
.fdt-opt:first-child { margin-top: 0; }
.fdt-opt__label { flex: none; width: 84px; padding-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--fdt-ink); }
.fdt-opt__choices { display: flex; flex-wrap: wrap; flex: 1; gap: 8px; min-width: 0; }
.fdt-chip { position: relative; display: block; }
.fdt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fdt-chip span { display: flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 500; color: var(--fdt-ink-2); background: var(--fdt-bg); border: 1px solid var(--fdt-line); cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.fdt-chip:hover span { border-color: var(--fdt-ink); }
.fdt-chip input:checked + span { color: var(--fdt-ink); background: var(--fdt-lime-soft); border-color: var(--fdt-ink); font-weight: 600; } /* 선택된 면 */
.fdt-side__t4 { padding: 20px 0 0; }
.fdt-side__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.fdt-side__row span { font-size: 15px; font-weight: 600; color: var(--fdt-ink); }
.fdt-side__cycle { font-size: 14px; font-weight: 500; color: var(--fdt-ink-3); }
.fdt-side__row--total { margin-top: 16px; }
.fdt-side__row--total strong { font-size: 18px; font-weight: 700; color: var(--fdt-ink); font-variant-numeric: tabular-nums; }
.fdt-side__variant { padding: 20px 0 0; }
.fdt-term { padding-top: 20px; }
.fdt-term .fdt-opt { flex-direction: column; gap: 6px; }
.fdt-term .fdt-opt__label { width: auto; padding-top: 0; }
.fdt .fhs-option-hint { margin: 8px 0 0; font-size: 12.5px; color: var(--fdt-ink-3); }
.fdt-side__row del { font-size: 14px; color: var(--fdt-ink-3); }
.fdt-side__sale { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.fdt-side__badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--fdt-ink); border: 1px solid var(--fdt-ink); border-radius: 20px; }
.fdt-side__price { margin: 0; font-size: 23px; font-weight: 700; line-height: 1.2; text-align: right; color: var(--fdt-ink); font-variant-numeric: tabular-nums; }
.fdt-side__note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; text-align: right; color: var(--fdt-ink-3); }
.fdt-side__t5 { display: flex; gap: 10px; padding: 25px 0; }
.fdt-btn { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 12px; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; border: 1px solid var(--fdt-ink); border-radius: 0; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.fdt-btn--ghost { color: var(--fdt-ink); background: var(--fdt-bg); }
.fdt-btn--ghost:hover { background: var(--fdt-surface); }
.fdt-btn--solid { color: var(--fdt-bg); background: var(--fdt-ink); }
.fdt-btn--solid:hover { background: var(--fdt-ink-2); border-color: var(--fdt-ink-2); }
.fdt-btn[disabled] { color: var(--fdt-ink-3); border-color: var(--fdt-line); cursor: not-allowed; }
.fdt .fdt-btn--solid { color: var(--fdt-bg); }
/* `.fdt a { color: inherit }` 가 링크형 버튼 글자색을 흐리게 만들지 않도록 */
.fdt .fdt-btn--ghost, .fdt .fdt-box__btn, .fdt a.fdt-benefit__card, .fdt a.fdt-events__card { color: var(--fdt-ink); }
.fdt .fdt-btn--ghost[disabled] { color: var(--fdt-ink-3); }

/* 혜택 배너 */
.fdt-benefit { margin: 0; }
.fdt-benefit__tit { margin: 0 0 5px; font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--fdt-ink); }
.fdt-benefit__track { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fdt-benefit__track::-webkit-scrollbar { display: none; }
.fdt-benefit__slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.fdt-benefit__card { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 90px; padding: 0 20px; text-decoration: none; color: var(--fdt-ink); background: var(--fdt-surface); border-radius: 6px; }
.fdt-benefit__card strong { font-size: 15px; font-weight: 600; line-height: 1.4; }
.fdt-benefit__card span { font-size: 13px; line-height: 1.4; color: var(--fdt-ink-3); }
a.fdt-benefit__card:hover { background: var(--fdt-lime-soft); }
.fdt-benefit__pager { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.fdt-benefit__dot { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--fdt-ink-4); cursor: pointer; }
.fdt-benefit__dot::after { content: ""; position: absolute; inset: -10px -4px; }
.fdt-benefit__dot.is-on { background: var(--fdt-ink); }

/* 5. sticky 탭 */
.fdt-tabs { position: sticky; top: var(--fdt-top); z-index: 20; display: flex; height: 46px; background: var(--fdt-bg); border-bottom: 1px solid var(--fdt-line); }
.fdt-tabs__btn { position: relative; flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; padding: 0 4px; font-size: 15px; font-weight: 600; color: var(--fdt-ink-3); text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.fdt-tabs__btn:hover { color: var(--fdt-ink); }
.fdt-tabs__btn.is-on { color: var(--fdt-ink); box-shadow: inset 0 -2px 0 var(--fdt-ink); }
.fdt-tabs__count { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* 6. 본문 섹션 */
.fdt-cont { font-size: 14px; color: var(--fdt-ink-3); }
.fdt-article { margin-top: 20px; }
.fdt-cont > .fdt-article, .fdt-cont > #fdt-guide { margin-top: 40px; }
.fdt-cont > #fdt-pages, .fdt-cont > #fdt-tech { margin-top: 20px; }
#fdt-guide > .fdt-article { margin-top: 20px; }
#fdt-guide > .fdt-article:first-child { margin-top: 0; }
.fdt .fdt-h2 { margin: 0 0 8px; padding: 10px 0 0; font-size: 18px; font-weight: 700; line-height: 1.45; letter-spacing: 0; color: var(--fdt-ink); }
/* 레퍼런스 .h3_wrap: 높이 54, 오른쪽 버튼 85x37 이 제목 줄 7px 아래 */
.fdt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 54px; }
.fdt-head .fdt-h2 { margin-bottom: 0; }
.fdt-head > .fdt-write, .fdt-head > .fdt-more { margin-top: 7px; }
.fdt-head > .fdt-more { align-self: center; margin-top: 0; }
.fdt-more { font-size: 13px; color: var(--fdt-ink-3); text-decoration: none; }
.fdt-more:hover { color: var(--fdt-ink); text-decoration: underline; }
.fdt .fdt-write { display: inline-flex; align-items: center; justify-content: center; min-height: 37px; padding: 9px 20px; line-height: 1.45; font-size: 13px; font-weight: 600; color: var(--fdt-bg); background: var(--fdt-ink); border: 0; border-radius: 0; text-decoration: none; cursor: pointer; transition: background-color .2s ease; }
.fdt .fdt-write:hover { background: var(--fdt-ink-2); color: var(--fdt-bg); }
.fdt-prose { font-size: 14px; line-height: 1.7; color: var(--fdt-ink-2); word-break: keep-all; overflow-wrap: anywhere; }
.fdt-prose > :first-child { margin-top: 0; }
.fdt-prose img, .fdt-prose video, .fdt-prose iframe, .fdt-prose table { max-width: 100%; height: auto; }
/* 사이트 공통 ul 규칙(padding 0)에 밀리지 않게 .fdt 를 앞에 둔다 */
.fdt .fdt-caution { margin: 0; padding: 20px 25px; list-style: none; font-size: 13px; line-height: 1.45; color: var(--fdt-ink-3); background: var(--fdt-surface); }
.fdt .fdt-caution li { position: relative; margin: 4px 0 0; padding-left: 6px; word-break: keep-all; }
.fdt .fdt-caution li:first-child { margin-top: 0; }
.fdt .fdt-caution li::before { content: ""; position: absolute; left: 0; top: .65em; width: 3px; height: 3px; background: var(--fdt-ink-3); }
.fdt .fdt-caution a { color: var(--fdt-ink); text-decoration: underline; }

/* 서브페이지 · 관련기술 (레퍼런스: 카드 5칸 138px·썸네일 100px·캡션 31px / 관련기술 박스 padding 25·카드 220px) */
/* 서브페이지 — zPoyEr: 안내 박스 아래 소제목(14/500) + 칩(12/500, 테두리 1px, 높이 29, 간격 5) */
.fdt .fdt-pages { margin: 20px 0 0; padding: 0; }
.fdt .fdt-pages__tit { margin: 0 0 5px; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--fdt-ink); }
.fdt .fdt-pages__list { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; }
.fdt .fdt-pages__chip { display: inline-flex; align-items: center; min-height: 29px; padding: 5px 8px; font-size: 12px; font-weight: 500; line-height: 1.45; color: var(--fdt-ink-3); text-decoration: none; background: var(--fdt-bg); border: 1px solid var(--fdt-line); transition: color .2s ease, border-color .2s ease; }
.fdt a.fdt-pages__chip:hover { color: var(--fdt-ink); border-color: var(--fdt-ink); }
.fdt .fdt-tech { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 25px; list-style: none; border: 1px solid var(--fdt-line); }
.fdt-tech__item { flex: none; width: 220px; max-width: 100%; }
.fdt-tech__thumb { display: block; height: 130px; overflow: hidden; background: var(--fdt-surface); border: 1px solid var(--fdt-line); }
.fdt-tech__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.fdt-tech__cap { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--fdt-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* FAQ 아코디언 */
.fdt-faq { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--fdt-ink); }
.fdt-faq__item { border-bottom: 1px solid var(--fdt-line); }
.fdt-faq__q { display: flex; align-items: center; gap: 15px; width: 100%; min-height: 46px; padding: 15px 25px; font-size: 14px; font-weight: 500; line-height: 16px; text-align: left; color: var(--fdt-ink); background: none; border: 0; cursor: pointer; transition: background-color .2s ease; }
.fdt-faq__q:hover { background: var(--fdt-surface); }
.fdt-faq__cat { flex: none; min-width: 56px; font-size: 13px; font-weight: 500; color: var(--fdt-ink-3); }
.fdt-faq__txt { flex: 1; min-width: 0; word-break: keep-all; }
.fdt-faq__arr { flex: none; width: 8px; height: 8px; margin-top: -4px; border-right: 1.5px solid var(--fdt-ink-3); border-bottom: 1.5px solid var(--fdt-ink-3); transform: rotate(45deg); transition: transform .2s ease; }
.fdt-faq__q[aria-expanded="true"] .fdt-faq__arr { margin-top: 4px; transform: rotate(-135deg); }
.fdt-faq__a { padding: 20px; font-size: 13px; line-height: 1.6; color: var(--fdt-ink-3); background: var(--fdt-surface); }
.fdt-faq__a p { margin: 0; word-break: keep-all; }
.fdt-faq__a[hidden] { display: none; }

/* 후기 · Q&A 목록 */
.fdt-article--rel { position: relative; }
/* 후기·Q&A: 테두리 박스 안에 목록(레퍼런스), 아래에 번호 쪽나누기 */
.fdt .fdt-list { margin: 0; padding: 0 25px; list-style: none; border: 1px solid var(--fdt-line); }
.fdt-lock { flex: none; margin-right: 6px; color: var(--fdt-ink-3); vertical-align: middle; }
.fdt .fdt-pager { display: flex; justify-content: center; gap: 4px; margin: 20px 0 0; }
.fdt .fdt-pager__n { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: 12px; font-weight: 500; color: var(--fdt-ink-3); text-decoration: none; background: var(--fdt-surface); border: 1px solid transparent; font-variant-numeric: tabular-nums; transition: color .2s ease, border-color .2s ease; }
.fdt .fdt-pager__n::after { content: ""; position: absolute; inset: -8px -2px; }
.fdt .fdt-pager a.fdt-pager__n:hover { color: var(--fdt-ink); border-color: var(--fdt-ink); }
.fdt .fdt-pager__n.is-on { font-weight: 700; color: var(--fdt-bg); background: var(--fdt-ink); }
.fdt .fdt-pager__n--next, .fdt .fdt-pager__n--last { background: var(--fdt-bg); border-color: var(--fdt-line); }
.fdt .fdt-pager__n svg { display: block; }
.fdt-row { padding: 15px 0; }
.fdt-row + .fdt-row { border-top: 1px solid var(--fdt-line); }
.fdt-row__main { display: flex; align-items: center; gap: 0; }
.fdt-row__subj { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 0 0 15px; font-size: 15px; font-weight: 600; line-height: 1.4; text-align: left; color: var(--fdt-ink); background: none; border: 0; cursor: pointer; }
.fdt-row__subj:hover p { text-decoration: underline; }
.fdt-row__subj p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fdt-rv__thumb { flex: none; width: 80px; }
.fdt-rv__thumb p { margin: 6px 0 0; font-size: 13px; font-weight: 500; line-height: 1; color: var(--fdt-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fdt-rv__img, .fdt-rv__ph { display: flex; align-items: center; justify-content: center; width: 80px; height: 50px; object-fit: cover; font-size: 20px; font-weight: 700; color: var(--fdt-ink-3); background: var(--fdt-surface); border: 1px solid var(--fdt-line); }
.fdt-rv__stars { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: 1px; color: var(--fdt-ink); }
.fdt-row__date { flex: none; margin-left: 12px; font-size: 14px; font-weight: 500; color: var(--fdt-ink-3); font-variant-numeric: tabular-nums; }
.fdt-row__body[hidden] { display: none; }
.fdt-row__inner { margin-top: 15px; padding: 15px 20px; font-size: 14px; line-height: 1.6; color: var(--fdt-ink-2); background: var(--fdt-surface); word-break: keep-all; overflow-wrap: anywhere; }
.fdt-row__reply { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--fdt-line); }
.fdt-state { display: inline-flex; align-items: center; justify-content: center; min-width: 65px; height: 25px; margin-right: 8px; padding: 0 8px; font-size: 13px; font-weight: 500; line-height: 1; border: 1px solid var(--fdt-ink-3); }
.fdt-state--done { color: var(--fdt-bg); background: var(--fdt-ink-3); }
.fdt-state--wait { color: var(--fdt-ink); background: var(--fdt-bg); border-color: var(--fdt-ink); }
.fdt-row__subj .fdt-state { vertical-align: middle; }
.fdt-row__subj .fdt-state ~ p { display: inline; vertical-align: middle; }
.fdt-row__subj:has(.fdt-state) { padding-left: 0; }
.fdt-empty-li { padding: 32px 0; text-align: center; font-size: 14px; color: var(--fdt-ink-3); list-style: none; }
.fdt-empty { padding: 32px 24px; text-align: center; border: 1px solid var(--fdt-line); }
.fdt-empty__t { margin: 0; font-size: 15px; font-weight: 600; color: var(--fdt-ink); }
.fdt-empty__d { margin: 6px 0 0; font-size: 13px; color: var(--fdt-ink-3); }
.fdt-note { margin: 10px 0 0; font-size: 13px; color: var(--fdt-ink-3); }
.fdt-qna__form { margin: 0 0 16px; }
.fdt-qna__form textarea { display: block; width: 100%; padding: 12px; font: inherit; font-size: 14px; color: var(--fdt-ink); background: var(--fdt-bg); border: 1px solid var(--fdt-line); border-radius: 0; resize: vertical; }
.fdt-qna__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 13px; }

/* 이벤트 슬라이더 */
.fdt-events { padding: 60px 0; }
.fdt-events__inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.fdt-events__tit { margin: 0 0 20px; font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--fdt-ink); }
.fdt-events__wrap { position: relative; }
.fdt-events__track { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.fdt-events__track::-webkit-scrollbar { display: none; }
.fdt-events__slide { flex: 0 0 calc((100% - 64px) / 5); min-width: 0; scroll-snap-align: start; }
.fdt-events__card { display: block; text-decoration: none; color: var(--fdt-ink); }
.fdt-events__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--fdt-surface); border: 1px solid var(--fdt-line); }
.fdt-events__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
a.fdt-events__card:hover .fdt-events__img img { transform: scale(1.03); }
.fdt-events__name { display: block; margin-top: 12px; font-size: 15px; font-weight: 600; line-height: 1.4; word-break: keep-all; }
.fdt-events__sub { display: block; margin-top: 2px; font-size: 13px; color: var(--fdt-ink-3); }
.fdt-events__arr { position: absolute; top: 100px; width: 40px; height: 40px; padding: 0; background: var(--fdt-ink); border: 0; cursor: pointer; opacity: .8; transition: opacity .2s ease; }
.fdt-events__arr:hover { opacity: 1; }
.fdt-events__arr::before { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border-top: 2px solid var(--fdt-bg); border-right: 2px solid var(--fdt-bg); }
.fdt-events__arr--prev { left: 0; }
.fdt-events__arr--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.fdt-events__arr--next { right: 0; }
.fdt-events__arr--next::before { transform: translate(-70%, -50%) rotate(45deg); }

.fdt-recent { max-width: 1280px; margin: 0 auto; padding: 0 20px 60px; }
.fdt-recent[hidden] { display: none; }

/* 모듈 상세 전용 조각 */
.fdt-fpoints { margin: 10px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--fdt-ink); }
.fdt-fpoints__item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--fdt-line); }
.fdt-fpoints__num { flex: none; width: 28px; font-size: 13px; font-weight: 600; color: var(--fdt-ink-3); font-variant-numeric: tabular-nums; }
.fdt-fpoints__t { margin: 0; font-size: 15px; font-weight: 600; color: var(--fdt-ink); }
.fdt-fpoints__d { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--fdt-ink-3); word-break: keep-all; }
.fdt-screens { overflow: hidden; margin-top: 10px; }
.fdt-screens .fx-demo__eg { margin: 8px 0 0; font-size: 12px; color: var(--fdt-ink-3); }
.fdt-box__lead { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--fdt-ink-2); word-break: keep-all; }

/* 7. 반응형 */
@media (max-width: 1024px) {
	.fdt-side__name { font-size: 20px; }
	.fdt-opt { flex-direction: column; gap: 4px; }
	.fdt-opt__label { width: auto; padding-top: 0; }
}
@media (max-width: 900px) {
	.fdt { font-size: 14px; --fdt-top: 78px; } /* 모바일 고정 헤더는 70px */
	.fdt__wrap {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "sample" "cost" "info";
		grid-template-rows: none;
		padding: 0 0 72px;
	}
	.fdt__wrap { border-bottom: 0; }
	.fdt__sample { padding: 30px 12px; }
	.fdt__cost { padding: 0 12px; border-left: 0; }
	.fdt__info { padding: 20px 12px 0; }
	.fdt__title { margin-bottom: 10px; font-size: 20px; }
	.fdt-box { padding: 0 0 25px; }
	.fdt-box__scr { margin: 20px 15px; }
	.fdt-box__ps, .fdt-box__btns { margin-left: 15px; margin-right: 15px; }
	.fdt-box__btns { margin-top: 10px; }
	.fdt-side { position: static; margin-bottom: 0; }
	.fdt-tabs { top: var(--fdt-top); }
	.fdt .fdt-list, .fdt .fdt-tech, .fdt .fdt-caution { padding-left: 15px; padding-right: 15px; }
	.fdt-faq__q { padding-left: 15px; padding-right: 15px; }
	.fdt-events { padding: 40px 0; }
	.fdt-events__inner { padding: 0 12px; }
	.fdt-events__slide { flex-basis: calc((100% - 32px) / 2.4); }
	.fdt-events__arr { display: none; }
	.fdt-recent { padding: 0 12px 40px; }
}
@media (max-width: 480px) {
	.fdt__title { margin-bottom: 8px; font-size: 17px; }
	.fdt-box { padding-bottom: 15px; }
	.fdt-box__scr { margin: 15px; }
	.fdt-tabs__btn { font-size: 14px; }
	.fdt-pages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fdt-tech { padding: 15px; }
	.fdt-tech__item { width: calc((100% - 8px) / 2); }
	.fdt-row__main { flex-wrap: wrap; }
	.fdt-row__date { margin-left: 0; width: 100%; padding: 6px 0 0 15px; }
	.fdt-rv__thumb { width: 64px; }
	.fdt-rv__img, .fdt-rv__ph { width: 64px; height: 54px; }
	.fdt-row__subj { padding-left: 12px; }
	.fdt-faq__cat { display: none; }
	.fdt-events__tit { font-size: 20px; }
}
/* 최근 본 상품 — 템플릿·기능 상품은 가로형 화면 캡처라 3:4 칸이 아니라 가로 칸으로 보여 준다(single.php 가 --wide 를 붙인다) */
.fhs-recent__item--wide { flex-basis: 240px; }
.fhs-recent__item--wide .fhs-recent__thumb { aspect-ratio: 16 / 10; border-radius: 0; border: 1px solid var(--v2-line, var(--fs-line-strong)); }
.fhs-recent__item--wide .fhs-recent__thumb img { object-position: top center; }
.fhs-recent__thumb--empty {
	display: flex; align-items: center; justify-content: center;
	background: var(--v2-surface, var(--fs-bg-soft));
	color: var(--v2-ink-3, var(--fs-ink-3));
	font-size: 28px; font-weight: 700;
}
@media (max-width: 480px) {
	.fhs-recent__item--wide { flex-basis: 200px; }
}
@media (prefers-reduced-motion: reduce) {
	.fdt * { transition: none !important; scroll-behavior: auto !important; }
}
