/* ==========================================================================
   filler 필러/보톡스 통합 — 페이지 전용 CSS (2026-11-04 병원 PPT 「리뷰티 수정(필러보톡스)」 5장)
   모든 셀렉터는 .fs-p-filler 스코프. 색은 --fs-* 토큰만 쓴다(새 hex 0개).
   생성: _src/gen/filler-pptx/build.py (filler.css 를 고친 뒤 build.py --preview / --apply)
   전용 컴포넌트
     .fs-fb-hero     모델 풀블리드 히어로 (투명 오버레이 헤더 · 146 과 같은 꼴)        ← 슬 1
     .fs-fb-prods    사용 제품 카드 줄 (필러 5 · 보톡스 4, 같은 꼴)                       ← 슬 2 · 4
     .fs-fb-area     시술 부위 지도 (사진 + 고른 부위 점 + 부위 목록, 보톡스는 종아리 전환) ← 슬 3 · 5
   ========================================================================== */

/* --- 1. 히어로 — 146 인중성형 1절·P1 과 같은 값(쁘띠/레이저 형제, 투명 헤더 + 라이트 로즈) --- */
.fs-p-filler { --fs-header-overlay-bg: transparent; }
.fs-p-filler .fs-header--overlay { color: var(--fs-ink); }
.fs-p-filler .fs-header--overlay::before { content: none; }
.fs-p-filler .fs-gnb__link:not([aria-current="page"]) { font-weight: 400; }
.fs-p-filler .fs-header--overlay .fs-gnb__link:hover,
.fs-p-filler .fs-header--overlay .fs-gnb__link:focus-visible { color: var(--fs-teal-dk); opacity: 1; }
.fs-p-filler .fs-header--overlay .fs-util__link { color: var(--fs-ink-soft); }
.fs-p-filler .fs-header--overlay .fs-util__link:hover { color: var(--fs-teal-dk); opacity: 1; }
.fs-p-filler .fs-util__sep { opacity: .35; }
.fs-p-filler .fs-header--overlay .fs-allmenu:hover { color: var(--fs-teal-dk); opacity: 1; }

.fs-p-filler .fs-fb-hero { color: var(--fs-ink); }
.fs-p-filler .fs-fb-hero .fs-hero__bg picture { display: block; width: 100%; height: 100%; }
/* hero-1104.jpg(4800x1200, hero_build.py) — 4:1 이라 1024~2560 전부 높이 맞춤. x 68.3% 면 두 눈 사이가 화면 72~76% */
.fs-p-filler .fs-fb-hero .fs-hero__bg img { object-position: 68.3% 0%; }
.fs-p-filler .fs-fb-hero .fs-hero__copy { max-width: min(100%, 52vw); gap: var(--fs-sp-3); }
/* 11-04 사용자 「다른 페이지 히어로와 동일하게」 — 89장 중 80장 꼴: 영문 kicker → 한글 h1 → 선 → 리드. kicker 는 146 최종값 */
.fs-p-filler .fs-fb-hero .fs-hero__kicker { font-size: clamp(15px, 13.5px + 0.42vw, 21px); letter-spacing: 0.02em; font-weight: 500; line-height: 1.25; color: var(--fs-teal-dk); }
.fs-p-filler .fs-fb-hero .fs-hero__title {
  font-size: clamp(30px, 21.4px + 2.39vw, 58px);
  font-weight: 700; line-height: 1.22; color: var(--fs-ink);
}
.fs-p-filler .fs-fb-hero__rule { margin-block-end: var(--fs-sp-2); }
.fs-p-filler .fs-fb-hero__lead {
  max-width: 34em; font-size: var(--fs-t-lead); font-weight: 400; line-height: 1.5; color: var(--fs-ink);
  text-wrap: balance;
}
/* <1024 스택형(§1-8, 81 규격) — 카피 로즈 밴드 위 · 3:4 사진 아래. 사진 위 변이 같은 로즈라 60px 마스크 이음매 없음 */
@media (max-width: 1023px) {
  .fs-p-filler .fs-fb-hero { min-height: 0; background: var(--fs-cat-hex); }
  .fs-p-filler .fs-fb-hero .fs-hero__bg { position: static; inset: auto; z-index: 0; grid-row: 2; }
  .fs-p-filler .fs-fb-hero .fs-hero__bg img {
    height: auto; aspect-ratio: 3 / 4; object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 60px);
            mask-image: linear-gradient(180deg, transparent 0, #000 60px);
  }
  .fs-p-filler .fs-fb-hero .fs-hero__inner {
    grid-row: 1; background: var(--fs-cat-hex);
    padding-block: calc(var(--fs-header-h) + var(--fs-sp-5)) var(--fs-sp-7);
  }
  .fs-p-filler .fs-fb-hero .fs-hero__copy { max-width: 100%; }
}

/* --- 2. 공용 — 문장 블록(§1-4) · 소제목 · 영문 머리 --- */
.fs-p-filler .fs-lead__s { display: block; text-wrap: balance; }
.fs-p-filler .fs-fb-head .fs-nose-lead { max-width: 46em; }
/* 「FILLER | 필러」 — 영문은 벌리고(LOCK 8) 세로 막대는 옅게. 강조 반쪽은 한글(LOCK 7) */
.fs-p-filler .fs-fb-head__en { letter-spacing: .04em; }
.fs-p-filler .fs-fb-head__bar { margin-inline: .35em; font-weight: 400; color: var(--fs-teal); }   /* 큰 글자 3:1 — 흰 위 3.98 */
.fs-p-filler .fs-fb-sub {
  margin-block: var(--fs-sp-12) var(--fs-sp-6); text-align: center;   /* 11-04 사용자 「가운데 정렬」 — 아래 제품 줄도 가운데 */
  font-size: var(--fs-t-h3); font-weight: 700; line-height: 1.35; color: var(--fs-ink);
}
@media (max-width: 599px) { .fs-p-filler .fs-fb-sub { margin-block: var(--fs-sp-10) var(--fs-sp-5); } }

/* --- 3. 사용 제품 카드 — 슬 2(5종) · 슬 4(4종). 같은 꼴: 정사각 흰 판 + 제품명 라벨바(LOCK 2). 직각(LOCK 1).
   PC 는 한 줄(5 / 4), 600~1023 은 필러 3+2 · 보톡스 2+2, <600 은 2열(필러 마지막 1장 가운데). 사진은 contain — 찌그러짐·잘림 0 --- */
.fs-p-filler .fs-fb-prods {
  --n: 5;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--fs-sp-5); margin: 0; padding: 0; list-style: none;
}
.fs-p-filler .fs-fb-prods--4 { --n: 4; }
/* 칸 폭 상한 260px — 필러 5칸(1440 에서 260)과 보톡스 4칸이 같은 크기가 된다(PPT 두 장도 같은 288px 상자) */
.fs-p-filler .fs-fb-prods > li { flex: 0 0 min(260px, calc((100% - var(--fs-sp-5) * (var(--n) - 1)) / var(--n))); min-width: 0; }
@media (max-width: 1023px) {
  .fs-p-filler .fs-fb-prods { --n: 3; }
  .fs-p-filler .fs-fb-prods--4 { --n: 2; }
}
@media (max-width: 599px) {
  .fs-p-filler .fs-fb-prods { --n: 2; gap: var(--fs-sp-4); }
  .fs-p-filler .fs-fb-prods > li { flex-basis: calc((100% - var(--fs-sp-4)) / 2); }
}
.fs-p-filler .fs-fb-prod { display: flex; flex-direction: column; height: 100%; margin: 0; }
.fs-p-filler .fs-fb-prod__media {
  display: grid; place-items: center; aspect-ratio: 1 / 1;
  background: var(--fs-white); border: 1px solid var(--fs-line); border-block-end: 0;
}
.fs-p-filler .fs-fb-prod__media picture { display: contents; }
.fs-p-filler .fs-fb-prod__media img {
  width: 84%; height: 84%; object-fit: contain; object-position: 50% 50%;
}
/* 제품 사진을 아직 못 받은 칸 — PPT 자리표 글자 그대로(미리보기에서만 보인다, 반영 전에 사진으로 바꾼다) */
.fs-p-filler .fs-fb-prod__media--ph { background: var(--fs-cream-2); border: 1px dashed var(--fs-line-control); border-block-end: 0; }
.fs-p-filler .fs-fb-prod__ph { font-size: var(--fs-t-sm); font-weight: 500; color: var(--fs-muted); }
.fs-p-filler .fs-fb-prod__name { flex: 1 0 auto; padding-block: var(--fs-sp-2); text-wrap: balance; }
.fs-p-filler .fs-fb-prod__origin { margin-inline-start: .3em; font-weight: 400; }

/* --- 4. 시술 부위 지도 — 슬 3(필러 10) · 슬 5(보톡스 14). PC: 사진 왼쪽 · 제목 + 부위 목록 2열 오른쪽(PPT 배치).
   <1024: 제목 → 사진 → 목록 3열(사진과 목록이 한 화면에 들어오게 사진 폭을 줄인다).
   표시 방식(11-04 사용자 「깔끔하고 직관적으로」, 참고 renovobusan.com 의 점 하나): 사진에는 고른 부위의 점만,
   목록에는 고른 줄에만 같은 점 + 진한 글자 + 진한 밑줄. 타원 · 이름표 · 안 고른 점은 두지 않는다. --- */
.fs-p-filler .fs-fb-area {
  display: grid; grid-template-columns: minmax(0, min(46%, 600px)) minmax(0, 1fr);
  grid-template-areas: "map ." "map head" "map parts" "map .";
  grid-template-rows: 1fr auto auto 1fr;                 /* 제목 + 버튼 덩어리를 사진 높이 가운데에 */
  column-gap: clamp(40px, 5.5vw, 110px); row-gap: var(--fs-sp-8);
  align-items: start; justify-content: center;
}
.fs-p-filler .fs-fb-area__head { grid-area: head; }
.fs-p-filler .fs-fb-map { grid-area: map; }
.fs-p-filler .fs-fb-parts { grid-area: parts; width: 100%; max-width: 520px; }        /* 한 줄 폭 상한 — 글자와 밑줄이 따로 놀지 않게 */
@media (max-width: 1023px) {
  .fs-p-filler .fs-fb-area {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "map" "parts"; grid-template-rows: auto;
    row-gap: var(--fs-sp-7);
  }
  .fs-p-filler .fs-fb-map { justify-self: center; width: min(100%, 520px); }
  .fs-p-filler .fs-fb-parts { justify-self: center; max-width: 560px; }
  .fs-p-filler .fs-fb-map--botox { width: min(100%, 400px); }      /* 세로 사진(2:3) — 768 에서 사진 + 버튼 14개가 한 화면(1024) */
}
@media (max-width: 599px) {
  .fs-p-filler .fs-fb-area { row-gap: var(--fs-sp-5); }
  .fs-p-filler .fs-fb-map { width: min(100%, 340px); }
  .fs-p-filler .fs-fb-map--botox { width: min(82%, 300px); }
}

.fs-p-filler .fs-fb-map { position: relative; margin: 0; overflow: hidden; background: var(--fs-white); }
.fs-p-filler .fs-fb-map picture { display: block; }
.fs-p-filler .fs-fb-map img { display: block; width: 100%; height: auto; }
/* 보톡스 — 종아리 사진은 얼굴 사진 위에 겹쳐 두고 «종아리» 를 고를 때만 보인다(슬 5). 두 사진 바탕이 같은 분홍(255,225,240) */
.fs-p-filler .fs-fb-map__alt { position: absolute; inset: 0; opacity: 0; transition: opacity var(--fs-dur) var(--fs-ease); }
.fs-p-filler .fs-fb-map__alt :is(picture, img) { height: 100%; }
.fs-p-filler .fs-fb-map__alt img { object-fit: cover; }
.fs-p-filler .fs-fb-map[data-fb-view="calf"] .fs-fb-map__alt { opacity: 1; }

/* 점 — 고른 부위만(애교 · 종아리는 두 개). 진한 토프 + 흰 테(머리카락 위에서도 보이게). 켜질 때 한 번만 퍼지는 고리.
   11-04 사용자 「원형 마커 30% 축소(70% 크기)」 — 흰 테까지 통째로 0.7배: 14px + 테 2px → 9.8px + 1.4px(<600 12px → 8.4px).
   점 중심은 그대로(margin 이 지름의 절반). */
.fs-p-filler .fs-fb-dot {
  --d: 9.8px; --ring: 1.4px;
  position: absolute; left: var(--x); top: var(--y); z-index: 1;
  width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%;
  background: var(--fs-teal-dk); box-shadow: 0 0 0 var(--ring) var(--fs-white);
  opacity: 0; transform: scale(.4);
  transition: opacity var(--fs-dur-fast) var(--fs-ease), transform var(--fs-dur-fast) var(--fs-ease-out);
}
.fs-p-filler .fs-fb-dot.is-on { opacity: 1; transform: scale(1); }
.fs-p-filler .fs-fb-map[data-fb-view="face"] .fs-fb-dot[data-view="calf"],
.fs-p-filler .fs-fb-map[data-fb-view="calf"] .fs-fb-dot:not([data-view="calf"]) { display: none; }
.fs-p-filler .fs-fb-dot.is-on::after {
  content: ""; position: absolute; inset: calc(var(--ring) * -1); border-radius: 50%;
  border: 1.05px solid var(--fs-white); opacity: 0; animation: fs-fb-ring 1.1s var(--fs-ease-out) .1s 1;
}
@media (max-width: 599px) { .fs-p-filler .fs-fb-dot { --d: 8.4px; } }
@keyframes fs-fb-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .fs-p-filler .fs-fb-dot.is-on::after { animation: none; }
  .fs-p-filler .fs-fb-map__alt, .fs-p-filler .fs-fb-dot { transition: none; }
}

/* 부위 목록 — 글자 줄 + 아래 가는 선. 고른 줄: 사진과 같은 점(앞) · 진한 토프 글자 · 진한 밑줄. 탭 타깃 44px */
.fs-p-filler .fs-fb-parts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fs-sp-2) var(--fs-sp-6); margin: 0; padding: 0; list-style: none;
}
@media (max-width: 1023px) { .fs-p-filler .fs-fb-parts { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--fs-sp-4); } }
.fs-p-filler .fs-fb-part {
  position: relative; display: flex; align-items: center; width: 100%;
  min-height: clamp(44px, 40.3px + 1.03vw, 56px); padding: 6px 4px 6px 22px;
  font: inherit; font-size: var(--fs-t-body); font-weight: 500; line-height: 1.3; text-align: start;
  color: var(--fs-ink); background: none;
  border: 0; border-block-end: 1px solid var(--fs-line-control); border-radius: 0;
  cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: color var(--fs-dur-fast) var(--fs-ease), border-color var(--fs-dur-fast) var(--fs-ease);
}
.fs-p-filler .fs-fb-part::before {
  content: ""; position: absolute; left: 4px; top: 50%;
  width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--fs-teal-dk);
  opacity: 0; transform: scale(.4); transition: opacity var(--fs-dur-fast) var(--fs-ease), transform var(--fs-dur-fast) var(--fs-ease-out);
}
@media (hover: hover) { .fs-p-filler .fs-fb-part:hover { color: var(--fs-teal-dk); border-color: var(--fs-teal); } }
.fs-p-filler .fs-fb-part[aria-pressed="true"] { color: var(--fs-teal-dk); font-weight: 700; border-color: var(--fs-teal-dk); }
.fs-p-filler .fs-fb-part[aria-pressed="true"]::before { opacity: 1; transform: scale(1); }
.fs-p-filler .fs-fb-part:focus-visible { outline: 2px solid var(--fs-teal-dk); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .fs-p-filler .fs-fb-part, .fs-p-filler .fs-fb-part::before { transition: none; } }
@media (max-width: 599px) { .fs-p-filler .fs-fb-part { font-size: var(--fs-t-sm); padding-inline-start: 18px; } .fs-p-filler .fs-fb-part::before { left: 2px; } }
