/* [무경 · 템플릿] common.css — 스타터(커밋 82d8d2f) 복제 + 헤더 · 메뉴 · 서브 · 준비중 · 바닥글을 무경 모양으로. 공통 파일을 고치면 모든 페이지가 바뀌어요. 값은 theme.css 변수만. */

/* 아이콘(cms-icon) — 크기는 감싼 요소가 정해요. 색은 글씨 색을 따라가요. */
i[class], .gnb-toggle i, .util-lang-btn i { display: inline-flex; }
i > svg { display: block; width: 100%; height: 100%; }
/* 「관리모드 아이콘 기본 20」 규칙은 두지 않아요 — 크기를 정해 둔 아이콘(A-03 × 12 · 큰 × 26 · A-06 단추 12 · 14 · 18)까지 20 으로 바꿔
   × 모양이 「테두리 원 + 큰 ×」로 보였어요. 300px 로 커지던 A-06 자물쇠 · 항목 × 는 product.css 에 그 자리 크기를 따로 넣어 둬서 이 규칙 없이도 커지지 않아요. 아이콘은 크기만 · 모양은 건드리지 않기. */
/* 입력 칸 · 셀렉트 · 글 칸 · 단추 글꼴 = 페이퍼로지(전엔 브라우저 기본 글꼴) — 화면마다 정한 font 가 있으면 그것이 이겨요 */
input, select, textarea, button { font-family: inherit; }
/* 화면에는 안 보이고 화면 읽기에만 읽히는 글(예: 외부 링크 "새 창 열림") — 모든 페이지에서 쓰여 여기 둬요. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* 새 창 메뉴 아이콘(피그마 vuesax/linear/copy 7:2759) — 글 뒤 4 · 16(모바일 전체 메뉴 18) · 글자색 · 꾸밈 */
.nw-icon { width: 16px; height: 16px; margin-left: 4px; vertical-align: middle; }
.tab-3depth .nw-icon { width: 16px; height: 16px; margin-left: -4px; } /* 탭은 칸 사이 8 이 이미 있어 글 뒤 4 로 맞춰요 */

/* ── [무경 · 템플릿] 헤더 · 메뉴 · 서브 · 준비중 · 바닥글(피그마 M-01 ~ M-04 · 스타터 82d8d2f 의 ST-00 자리를 무경 모양으로 바꿈) ── */

/* 헤더(PC 110 · 좌우 60 · 전체 폭). 비주얼(서브 · 메인)이 있는 화면은 그 위에 투명하게 겹쳐 흰 글자 · 흰 로고,
   메뉴를 펼치면(마우스 · 초점 · ☰) 흰 바탕 + 펼침 판(M-02). 비주얼이 없는 화면은 처음부터 흰 바탕. */
.site-header { --hd-fg: var(--c-title); position: relative; z-index: 50; background: var(--bg-white); color: var(--hd-fg); transition: background-color var(--gnb-ease); }
/* 관리 바(관리모드 · 관리자 미리보기 = #yes-adminbar · <body> 바로 뒤 · 위 고정 56 · PC 1024 이상만) — 있으면 헤더 · 떠 있는 단추 · 앵커 위치를 56 내려요. 방문자 화면은 0 */
body:has(> #yes-adminbar) { --am-h: 56px; }
:root:has(body > #yes-adminbar) { scroll-padding-top: calc(56px + var(--yes-preview-h, 0px)); } /* 작업본 미리보기 띠(--yes-preview-h · 엔진)도 더함 · 띠 없으면 0 */
@media (max-width: 1023px) { body:has(> #yes-adminbar) { --am-h: 0px; } :root:has(body > #yes-adminbar) { scroll-padding-top: var(--yes-preview-h, 0px); } }
body:has(.sub-visual, .main-visual) .site-header { position: absolute; top: calc(var(--am-h, 0px) + var(--yes-preview-h, 0px)); left: 0; right: 0; background: transparent; }
/* 관리모드 [슬라이드 편집] · [비주얼 편집](AdminBar .am-edit--over · 비주얼 위 32) = 무경은 헤더가 비주얼 위에 겹쳐 로그인을 가려요 → 헤더 아래로 */
.main-visual > .am-edit--over, .sub-visual > .am-edit--over { top: calc(var(--header-h) + 24px); }
body:has(.sub-visual, .main-visual) .site-header:not(.is-open, .is-hover, .is-sitemap):not(:has(.gnb:hover)):not(:has(.gnb:focus-within)) { --hd-fg: var(--c-white); --hd-on: var(--c-white); } /* 투명 머리 = 열린 아이콘도 흰색 */
.site-header:is(.is-open, .is-hover), .site-header:has(.gnb:hover), .site-header:has(.gnb:focus-within),
body:has(.sub-visual, .main-visual) .site-header:is(.is-open, .is-hover) { background: var(--bg-white); } /* 펼친 동안 헤더 빈 곳 · 판 위에서도 흰 헤더(비주얼 위 투명 규칙보다 앞서게) */
.site-header-inner { position: relative; z-index: 2; display: flex; align-items: center; height: var(--header-h); padding: 0 60px; }
.site-logo { position: relative; z-index: 1; flex: none; display: block; }
.site-logo-img { display: block; width: 120px; height: 41px; }
.site-logo-img--white { display: none; }
body:has(.sub-visual, .main-visual) .site-header:not(.is-open, .is-hover, .is-sitemap):not(:has(.gnb:hover)):not(:has(.gnb:focus-within)) .site-logo-img--white { display: block; }
body:has(.sub-visual, .main-visual) .site-header:not(.is-open, .is-hover, .is-sitemap):not(:has(.gnb:hover)):not(:has(.gnb:focus-within)) .site-logo-img--color { display: none; }

/* 대메뉴(M-03 평소 → M-02 펼침) — 화면 가운데 기준으로 칸 사이가 넓어지며 퍼져요(0.3초 · ease-out).
   칸 사이 = 각 칸 오른쪽 안쪽 여백(--g) — 칸이 서로 붙어 있어 퍼지는 동안 마우스가 메뉴 밖으로 빠지지 않아요. */
.gnb { position: absolute; top: 0; left: 50%; display: flex; transform: translateX(-50%); }
.gnb-item { --g: 80.5px; --g-open: 143.4px; position: relative; display: flex; height: var(--header-h); padding-right: var(--g); transition: padding-right var(--gnb-ease); }
.gnb-item:nth-child(2) { --g-open: 160.1px; }
.gnb-item:nth-child(3) { --g-open: 154.5px; }
.gnb-item:nth-child(4) { --g-open: 120.8px; }
.gnb-item:last-child { --g: 0px; --g-open: 0px; }
.site-header:is(.is-open, .is-hover) .gnb-item, .gnb:hover .gnb-item, .gnb:focus-within .gnb-item { padding-right: var(--g-open); }
.gnb-link { position: relative; display: flex; align-items: center; font: var(--t-gnb); color: var(--hd-fg); white-space: nowrap; }
/* 고른 대메뉴 밑줄(M-02 · 3px 포인트 · 글자보다 양쪽 9 넓게 · 헤더 아래 끝) */
.gnb-link::after { content: ""; position: absolute; left: -9px; right: -9px; bottom: -1px; height: 3px; background: var(--c-point); opacity: 0; }
.gnb:not(.gnb-js) .gnb-item:hover .gnb-link::after, .gnb-item:focus-within .gnb-link::after, .gnb-item.is-hover .gnb-link::after { opacity: 1; }
.gnb-toggle { display: none; }
/* 메뉴 펼침 판 — 헤더 바로 아래 전체 폭(98% 흰 · 위 1px 선) · 대메뉴 칸마다 하위 메뉴 줄(위 26 · 사이 9) · 높이는 가장 긴 줄(--mega-h · common.js) */
.gnb-sub { position: absolute; top: 100%; left: 0; z-index: 1; display: flex; flex-direction: column; gap: 9px; min-width: max-content; margin: 0; padding: 27px 0 36px; list-style: none; visibility: hidden; }
.gnb-sub--self { display: none; } /* 하위 없는 대메뉴(납품설치·사례)는 판에 줄 없음(M-02) */
.gnb-sub a { display: block; font: var(--t-mega); color: var(--c-mega); white-space: nowrap; }
.gnb-sub .gnb-sub-extra a { font: var(--t-mega-3); color: var(--c-mega-3); }   /* 3차(전체제품 아래 분류) = 연하게 · 두께 그대로 · 올림 · 켜짐 색은 아래 규칙 */
.gnb-sub a:hover, .gnb-sub a:focus-visible { color: var(--c-point); }
.gnb-sub a[aria-current="page"], .gnb-sub .is-current a { font-weight: 600; color: var(--c-point); }
.site-header::after { content: ""; position: absolute; top: var(--header-h); left: 0; right: 0; height: calc(var(--mega-h, 271px) - 1px); background: var(--bg-mega) url("img/mega-logo.svg?v=39.tp1bxl") no-repeat left 73.37vw bottom -37px / 301px 103px; border-top: 1px solid var(--line-mega); visibility: hidden; } /* 판 오른쪽 아래 흐린 Mklyn(장식 · 배경 그림) — 판 아래 끝 기준 · 아래 37 잘림(피그마 85:1337 · 판이 길어져도 같은 자리) */
.site-header:is(.is-open, .is-hover)::after, .site-header:has(.gnb:hover)::after, .site-header:has(.gnb:focus-within)::after,
.site-header:is(.is-open, .is-hover) .gnb-sub, .gnb:hover .gnb-sub, .gnb:focus-within .gnb-sub { visibility: visible; }
.site-header:is(.is-open, .is-hover) .gnb-sub--self, .gnb:hover .gnb-sub--self, .gnb:focus-within .gnb-sub--self { visibility: hidden; }
/* Esc = 판 닫기(e2e U2-9 · 스타터와 같게) — 초점은 그 대메뉴에 남아도(focus-within) 판 · 하위 줄은 숨김 · 마우스가 들어오거나 초점이 메뉴 밖으로 나가면 풀림(common.js) */
.site-header.is-esc::after, .site-header.is-esc .gnb-sub { visibility: hidden; }
@media (max-width: 1599px) { /* 1280 등 좁은 PC — 로고 · 오른쪽 묶음과 겹치지 않게 덜 퍼져요 */
    .gnb-item { --g: 40px; --g-open: 56px; }
    .gnb-item:nth-child(n+2):not(:last-child) { --g-open: 56px; }
}
@media (prefers-reduced-motion: reduce) { .gnb-item, .site-header { transition: none; } }

/* 오른쪽 묶음(내 문의 확인 · 로그인 · KOR · 검색 · ☰) — 사이 28 */
.header-util { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; margin-left: auto; }
.util-link { font: var(--t-util); color: var(--hd-fg); white-space: nowrap; }
.header-member { display: contents; }
.header-member + .util-link--quote { display: none; }   /* 회원제 켜짐(회원 링크 있음) = 비회원 조회 "로그인" 숨김 · 로그인 두 번 방지 */
.header-logout { display: inline; }
.header-logout .util-link { background: none; border: 0; padding: 0; cursor: pointer; font: var(--t-util); }
.util-lang { position: relative; }
.util-lang-btn { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; font: var(--t-util); color: var(--hd-fg); }
.util-lang-btn i { width: 10px; height: 10px; }
.util-lang-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.util-lang-list { position: absolute; top: calc(100% + 8px); right: 0; z-index: 2; min-width: 100%; margin: 0; padding: 8px 0; list-style: none; background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-input); }
.util-lang-list a { display: block; padding: 6px 14px; font: var(--t-label); color: var(--c-body); }
.util-lang-list a:hover, .util-lang-list a:focus-visible { color: var(--c-point); }
.util-search { display: inline-flex; color: var(--hd-fg); }
.util-search i { width: 34px; height: 34px; }
.util-search[aria-expanded="true"] { color: var(--hd-on, var(--c-point)); } /* 흰 머리 = 포인트색 · 투명 머리 = 흰색 */
/* ☰ — 막대 셋(27 · 20 · 27 · 두께 3 · 사이 8). PC 는 펼침 판, 모바일은 전체 메뉴 */
.nav-toggle { display: inline-flex; margin-left: 2px; padding: 0; border: 0; background: none; color: var(--hd-fg); cursor: pointer; }
.nav-bars { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: 27px; }
.nav-bars span { display: block; width: 27px; height: 3px; border-radius: var(--r-pill); background: currentColor; }
.nav-bars span:nth-child(2) { width: 20px; }

/* 헤더 검색 상자(ST-00-1 그대로) — 돋보기 아래로 · 오른쪽 끝 = 헤더 오른쪽 여백 */
.search-pop { position: absolute; top: calc(100% + 12px); right: 60px; z-index: 3; display: flex; align-items: center; gap: 12px; width: 600px; padding: 16px 16px 16px 20px; background: var(--c-point); border-radius: var(--r-card); box-shadow: var(--shadow-pop); }
.search-pop[hidden] { display: none; }
.search-pop-field { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px 0 20px; background: var(--bg-white); border-radius: var(--r-box-sm); }
.search-pop-field input { flex: 1 1 0; min-width: 0; height: 100%; padding: 0; border: 0; background: none; font: var(--t-search); color: var(--c-title); outline: none; }
.search-pop-field input::placeholder { color: var(--c-sub); opacity: 1; }
.search-pop-field input::-webkit-search-cancel-button { display: none; }
.search-pop-field:focus-within { outline: 2px solid var(--bg-white); outline-offset: 2px; }
.search-pop-go { display: inline-flex; flex: none; padding: 0; border: 0; background: none; color: var(--c-point); cursor: pointer; }
.search-pop-go i { width: 24px; height: 24px; }
.search-pop-close { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--bg-on-point); color: var(--bg-white); cursor: pointer; }
.search-pop-close i { width: 24px; height: 24px; }

.m-drawer { display: none; }
.m-only { display: none; }

/* 서브 비주얼(M-03 · 1920×430 · 헤더 110 포함) — 사진 위 60% 어둡게 · 제목 48(위 202) · 현재 위치(제목 아래 15) */
.sub-visual { position: relative; height: 430px; padding: calc(var(--header-h) + var(--sv-top-gap)) var(--gutter) 0; background: var(--bg-image); display: flex; flex-direction: column; align-items: center; overflow: hidden; text-align: center; }
.sub-visual::after { content: ""; position: absolute; inset: 0; background: var(--bg-dim-visual); }
.sub-visual-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub-visual-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.sub-visual-title { margin: 0; font: var(--t-visual); color: var(--c-white); text-shadow: var(--shadow-visual-title); }
.sub-visual-text { margin: 0; font: var(--t-body); color: var(--c-white); }
.breadcrumb { display: flex; align-items: center; gap: 14px; font: var(--t-crumb); color: var(--c-white); }
.breadcrumb a, .breadcrumb [aria-current="page"] { color: var(--c-white); }
.breadcrumb > a:first-child { width: 18px; height: 18px; margin: -1px; overflow: hidden; font-size: 0; background: currentColor; -webkit-mask: url("svg/home.svg?v=39.tp1bxl") center / contain no-repeat; mask: url("svg/home.svg?v=39.tp1bxl") center / contain no-repeat; } /* 홈 = 집 아이콘(글자는 화면 읽기만) */
.crumb-sep { color: var(--c-white); }
.breadcrumb > :nth-child(n+6) { display: none; } /* 무경은 현재 위치를 소메뉴(2차)까지만(피그마 M-04 · 3차 빼기) */
@media (min-width: 768px) { /* PC 꺾쇠 = 피그마 선(6×10 · 굵기 2) */
    .crumb-sep { width: 6px; height: 10px; font-size: 0; background: currentColor; -webkit-mask: url("svg/crumb-sep.svg?v=39.tp1bxl") center / contain no-repeat; mask: url("svg/crumb-sep.svg?v=39.tp1bxl") center / contain no-repeat; }
}
/* 서브 탭(M-03 · 높이 80 · 아래 선 · 가운데 · 사이 71 · 고른 탭은 포인트 글자만) */
.sub-tabs { display: flex; justify-content: center; gap: 71px; padding: 0 8px; background: var(--bg-white); border-bottom: 1px solid var(--line-tab); }
.sub-tab { flex: none; display: flex; align-items: center; height: 79px; font: var(--t-subtab); color: var(--c-tab); white-space: nowrap; }
.sub-tab:hover { color: var(--c-title); }
.sub-tab[aria-current="page"] { color: var(--c-point); }

/* 서브 본문 — 폭 1500 · 탭 아래 52 · 제목 줄 100 · 내용과 사이 43 · 아래 124 */
#main { overflow-x: clip; }   /* 전체 폭 띠가 세로 스크롤 막대 폭만큼 넘쳐도 가로 막대 안 생기게(hidden 은 sticky 를 깨서 clip) */
.sub-body { display: flex; flex-direction: column; gap: 43px; max-width: calc(var(--site-max) + var(--gutter) * 2); margin: 0 auto; padding: 52px var(--gutter) 124px; }
.sub-body > * { min-width: 0; }
/* 페이지 제목(M-03 · 30 굵게 · 가운데) · 공유 · 프린트(60 · 모서리 24.5 · 사이 14) */
.page-head { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100px; }
.page-title { margin: 0; font: var(--t-page-mg); color: var(--c-ink); text-align: center; }
.page-title:empty, .page-head:has(.page-title:empty) { display: none; }
.page-actions { position: absolute; top: 50%; right: 0; z-index: 30; display: flex; gap: 14px; transform: translateY(-50%); } /* 공유 펼침이 아래 카드 · 고정 탭 줄(20)보다 위 · 머리(50)보다 아래(transform 이 쌓임을 새로 만들어 상자 z-index 가 그 안에 갇혔음) */
.page-action { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; padding: 0; background: var(--bg-white); border: 1px solid var(--line-icon-btn); border-radius: var(--r-action); color: var(--c-icon); cursor: pointer; }
.page-action i { width: 24px; height: 24px; }
.page-action:hover { color: var(--c-title); }
.page-action[aria-expanded="true"] { border-color: var(--c-point); color: var(--c-point); }

/* 공유 선택 상자(ST-00-1 그대로) */
.share-menu { position: absolute; top: calc(100% + 14px); right: 0; z-index: 5; display: flex; flex-direction: column; gap: 2px; width: 260px; margin: 0; padding: 12px; list-style: none; background: var(--bg-white); border: 1px solid var(--c-body); border-radius: var(--r-card); box-shadow: var(--shadow-menu); }
.share-menu[hidden] { display: none; }
.share-menu::before, .share-menu::after { content: ""; position: absolute; left: calc(var(--share-tail, 50%) - 10px); width: 0; height: 0; border-style: solid; border-width: 0 10px 10px; border-color: transparent; }
.share-menu::before { top: -11px; border-bottom-color: var(--c-body); }
.share-menu::after { top: calc(-11px + 1.42px); border-bottom-color: var(--bg-white); }
.share-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: var(--r-input); background: none; font: var(--t-menu); color: var(--c-title); text-align: left; white-space: nowrap; overflow: hidden; cursor: pointer; }
.share-item:hover, .share-item:focus-visible { background: var(--bg-hover); outline: none; }
.share-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius: var(--r-pill); font: var(--t-share-ico); color: var(--bg-white); }
.share-ico--facebook { background: var(--c-facebook); }
.share-ico--x { background: var(--c-x); }
.share-ico--band { background: var(--c-band); }
.share-ico--copy { background: var(--bg-chip); color: var(--c-body); }
.share-ico--copy i { width: 16px; height: 16px; }
.page-share-done { position: absolute; top: calc(100% + 8px); right: 0; margin: 0; padding: 6px 12px; border-radius: var(--r-input); background: var(--c-title); color: var(--c-white); font: var(--t-body-sm); white-space: nowrap; }

/* 3차 메뉴(M-04 · 있을 때만) — 제목 아래 38 · 내용과 사이 84 · 칸 194.5 × 68.
   3차 탭 공통 규칙(스타터 00cc787 과 같음) — 붙은 한 띠 · 선은 모두 1px(만나는 곳도 한 줄 = 둘째부터 왼쪽 -1) · 모서리 첫 10 0 0 10 · 끝 0 10 10 0 · 가운데 0 · 하나면 10 전체.
   on · 마우스 · 초점 = 네 면 2px 포인트색 · 옆 탭 선 위로(z-index) · 크기 · 글자 위치 그대로(테두리 안쪽 · box-sizing) · 그림자 없음. 고른 칸 = 흰 바탕 + 체크. */
.tabs-3depth { display: flex; justify-content: center; align-items: center; gap: 0; margin: -5px 0 41px; }
.tab-3depth { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; width: 194.5px; height: 68px; background: var(--bg-tab3); border: 1px solid var(--line-tab3); border-radius: 0; font: var(--t-tab3); color: var(--c-tab3); }
.tab-3depth + .tab-3depth { margin-left: -1px; }
.tab-3depth:first-of-type { border-radius: var(--r-tab3) 0 0 var(--r-tab3); }
.tab-3depth:last-of-type { border-radius: 0 var(--r-tab3) var(--r-tab3) 0; }
.tab-3depth:only-of-type { border-radius: var(--r-tab3); }
.tab-3depth:hover, .tab-3depth:focus-visible, .tab-3depth[aria-current="page"] { z-index: 1; border: 2px solid var(--c-point); color: var(--c-point); outline: 0; }
.tab-3depth[aria-current="page"] { z-index: 2; background: var(--bg-white); box-shadow: var(--shadow-tab3); font-weight: 600; } /* on 만 그림자 · 마우스 · 초점은 테두리만 */
.tab-3depth i { width: 24px; height: 24px; }
.select-3depth { display: none; }
.ui-tabs-mselect { display: none; }   /* 모바일만(아래) — 탭 묶음 .ui-tabs--mselect */

/* 준비 중(M-03 · 폭 1500 · 높이 878 · 모서리 30) — 그림 696(위 154) · 제목 40(그림 아래 58) · 설명 17(제목 아래 24) */
.empty-page { display: flex; flex-direction: column; align-items: center; padding: 154px var(--gutter) 194px; background: var(--bg-gray); border-radius: var(--r-card-lg); text-align: center; }
.empty-page-img { display: block; width: 696px; max-width: 100%; height: auto; }
.empty-page-title { margin: 58px 0 0; font: var(--t-empty); color: var(--c-title); }
.empty-page-text { margin: 24px 0 0; font: var(--t-empty-text); color: var(--c-title); }

/* 바닥글(밝게 · 폭 1550 · 높이 530) — 로고 · 회사 정보 3줄(이름표 회색 · 값 진하게 · 줄 34) · 평일 줄 · 선 · 링크 · 저작권 */
.site-footer { background: var(--bg-footer); }
.site-footer-inner { display: flex; flex-direction: column; align-items: flex-start; max-width: calc(var(--footer-max) + var(--gutter) * 2); margin: 0 auto; padding: 64px var(--gutter) 91px; }
.footer-logo { display: block; }
.footer-logo img { display: block; width: 169px; height: 55px; }
.footer-company { margin-top: 29px; }
.ci-line { display: flex; flex-wrap: wrap; column-gap: 52px; margin: 0; font: var(--t-footer); color: var(--c-footer); }
.ci { display: inline-flex; gap: 15px; }
.ci-label { color: var(--c-footer); }          /* PC = 이름표 진하게 · 값 회색(피그마 M-01 33:1011) */
.ci-value { color: var(--c-footer-label); }
.footer-hours { margin-top: 26px; column-gap: 46px; line-height: 1.5; }
.footer-hours .ci-extras { display: contents; } /* 추가 정보 2 ~ = 운영시간과 같은 줄 항목 */
.footer-divider { align-self: stretch; height: 1px; margin-top: 35px; background: var(--line-footer); }
.footer-docs { display: flex; flex-wrap: wrap; gap: 8px 52px; margin-top: 35px; }
.footer-doc { font: var(--t-footer-link); color: var(--c-footer); }
/* (뺌 · 마우스 올림 밑줄 없음) .footer-doc:hover */
.footer-copy { margin: 16px 0 0; font: var(--t-footer-copy); color: var(--c-footer-label); text-transform: uppercase; }

/* 헤더는 1023 아래부터 모바일 헤더 · 전체 메뉴 */
@media (max-width: 1023px) {
    /* 헤더 — 높이 68 · 로고 94×32 · 검색 · ☰(28 · 사이 8) · 스크롤해도 위에 붙어 있음(비주얼 위에선 겹침) */
    .site-header { position: sticky; top: 0; }
    .site-header-inner { gap: 16px; height: var(--header-h-m); padding: 0 var(--gutter); }
    .site-logo-img { width: 94px; height: 32px; }
    .site-header::after, .gnb { display: none; }
    .header-util { gap: 8px; }
    .header-util > .header-member, .header-util > .util-lang, .header-util > .util-link--quote { display: none; }
    .util-search { width: 28px; height: 28px; align-items: center; justify-content: center; }
    .util-search i { width: 24px; height: 24px; }
    .nav-toggle { width: 28px; height: 28px; margin: 0; align-items: center; justify-content: center; }
    .nav-bars { gap: 5px; width: 22px; }
    .nav-bars span { width: 22px; height: 2px; }
    .nav-bars span:nth-child(2) { width: 18px; }
    .search-pop { top: calc(100% + 8px); left: 12px; right: 12px; width: auto; gap: 8px; padding: 12px; }
    .search-pop-field { gap: 8px; height: 48px; padding: 0 12px 0 16px; }
    .search-pop-field input { font: var(--t-search-m); }
    .search-pop-go i { width: 22px; height: 22px; }
    .search-pop-close { width: 40px; height: 40px; }

    /* 전체 메뉴(M-02 모바일) — 화면 전체 · 위 로고 + ✕ · 연회색 줄(내 문의 확인 | KOR) · 대메뉴 아코디언 · 아래 [견적문의하기] + 대표전화 */
    .m-drawer:not([hidden]) { position: fixed; inset: var(--yes-preview-h, 0px) 0 0; z-index: calc(var(--yes-z-up, 0) + 100); /* 준비중 · 미리보기 띠(엔진 · 없으면 0) 아래에서 시작 — 띠가 로고 · 닫기를 가리던 것(스타터와 같게) */ display: flex; flex-direction: column; overflow-y: auto; background: var(--bg-white); color: var(--c-ink); }
    .m-drawer-head { display: flex; align-items: center; justify-content: space-between; flex: none; padding: 16px 16px 16px var(--gutter); border-bottom: 1px solid var(--line-m); }
    .m-drawer-head .site-logo-img { width: 94px; height: 32px; }
    .m-drawer-close { display: inline-flex; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--c-ink); cursor: pointer; }
    .m-drawer-close i { width: 28px; height: 28px; }
    .m-drawer-util { display: flex; align-items: center; gap: 14px; flex: none; padding: 14px var(--gutter); background: var(--bg-m-util); }
    .m-drawer-util:not(:has(a, button)) { display: none; }
    .m-drawer-util .util-link, .m-drawer-util .util-lang-btn { font: var(--t-m-tab); font-size: 15px; color: var(--c-ink); }
    .m-drawer-util .util-lang { display: flex; align-items: center; gap: 14px; }
    .m-drawer-util .util-lang::before { content: "|"; font: var(--t-m-tel); color: var(--c-sep); }
    .m-nav { flex: none; }
    .m-nav .gnb-item { display: grid; grid-template-columns: 1fr auto; align-items: stretch; height: auto; padding: 0; border-bottom: 1px solid var(--line-m); }
    .m-nav .gnb-link { display: block; padding: 18px 0 18px var(--gutter); font: var(--t-m-gnb); color: var(--c-ink); }
    .m-nav .gnb-link::after { display: none; }
    .m-nav .nw-icon { width: 18px; height: 18px; }
    .m-nav .gnb-item:not(.has-sub) .gnb-link { display: flex; align-items: center; justify-content: space-between; grid-column: 1 / -1; padding-right: 18px; }
    .m-nav .gnb-item:not(.has-sub) .gnb-link::before { content: ""; order: 2; width: 20px; height: 20px; background: var(--c-mute); -webkit-mask: url("svg/arrow-right.svg?v=39.tp1bxl") center / contain no-repeat; mask: url("svg/arrow-right.svg?v=39.tp1bxl") center / contain no-repeat; } /* 하위 없는 대메뉴 › */
    .m-nav .gnb-toggle { display: inline-flex; align-items: center; padding: 0 18px 0 12px; border: 0; background: none; color: var(--c-mute); cursor: pointer; }
    .m-nav .gnb-toggle i { width: 20px; height: 20px; }
    .m-nav .gnb-item.is-open .gnb-link, .m-nav .gnb-item.is-open .gnb-toggle { color: var(--c-point); }
    .m-nav .gnb-item.is-open .gnb-toggle i { transform: rotate(180deg); }
    .m-nav .gnb-sub { position: static; grid-column: 1 / -1; display: none; min-width: 0; gap: 0; padding: 6px var(--gutter) 12px; background: var(--bg-m-util); visibility: visible; }
    .m-nav .gnb-item.is-open .gnb-sub { display: flex; }
    .m-nav .gnb-sub--self { display: none; }
    .m-nav .gnb-sub a { padding: 11px 0; font: var(--t-m-sub); color: var(--c-tab-m); }
    .m-nav .gnb-sub a[aria-current="page"], .m-nav .gnb-sub .is-current a { font-weight: 600; color: var(--c-point); }
    .m-drawer-foot { display: flex; flex-direction: column; gap: 10px; flex: none; margin-top: auto; padding: 16px var(--gutter) 28px; }
    .m-drawer-quote { display: flex; align-items: center; justify-content: center; padding: 16px; border-radius: var(--r-pill); background: var(--c-point); font: var(--t-m-tab); color: var(--c-white); }
    .m-drawer-tel { display: flex; justify-content: center; gap: 8px; margin: 0; font: var(--t-m-tel); color: var(--c-mute); }
    .m-drawer-tel-num { font-weight: 700; color: var(--c-ink); }
}

@media (max-width: 767px) {
    .m-only { display: inline; }
    /* 서브 비주얼 240(헤더 68 포함) — 제목 28(위 112) · 현재 위치 15(사이 12) · 집 14 */
    .sub-visual { height: 240px; padding-top: calc(var(--header-h-m) + var(--sv-top-gap-m)); }
    .sub-visual-inner { gap: 12px; }
    .sub-visual-title { font: var(--t-m-visual); text-shadow: none; }
    .breadcrumb { gap: 6px; font: var(--t-m-crumb); }
    .breadcrumb > a:first-child { width: 14px; height: 14px; }
    /* 탭 55 — 왼쪽부터 · 사이 26 · 밀어서 · 고른 탭은 포인트 + 아래 2 */
    .sub-tabs { justify-content: flex-start; gap: 26px; padding: 0 var(--gutter); border-bottom-color: var(--line-m); overflow-x: auto; scrollbar-width: none; }
    .sub-tab { height: auto; padding: 16px 0 14px; font: var(--t-m-tab); color: var(--c-tab-m); }
    .sub-tab[aria-current="page"] { margin-bottom: -1px; border-bottom: 2px solid var(--c-point); color: var(--c-point); }
    /* 본문 — 제목 줄 82(제목 24 · 위 40) · 내용 위 28 · 아래 72 · 공유 · 프린트는 피그마 모바일에 없어 숨김 */
    .sub-body { gap: 28px; padding: 0 var(--gutter) 72px; }
    .page-head { align-items: flex-start; min-height: 0; padding: 40px 0 8px; }
    .page-title { font: var(--t-m-page); }
    .page-actions { display: none; }
    .tabs-3depth { margin: 0 0 -4px; }
    .gallery-list > .tabs-3depth { margin-bottom: 24px; } /* 목록 안 고르기 칸 → 「전체 n 건」 24(본문 간격 28 − 4 = 피그마 379:1093 고르기 → 다음 칸 24 · 전엔 0 으로 붙음) */
    .tab-3depth { flex: 1 1 0; width: auto; min-width: 0; height: 52px; }
    .tabs-3depth:has(.select-3depth) .tab-3depth { display: none; }
    .select-3depth { position: relative; display: flex; gap: 8px; width: 100%; }
    .select-3depth select { flex: 1 1 0; min-width: 0; height: 55px; padding: 0 44px 0 18px; border: 1.5px solid var(--c-point); border-radius: var(--r-tab3); background: var(--bg-white); font: var(--t-m-tab); color: var(--c-point); appearance: none; -webkit-appearance: none; cursor: pointer; }
    .ui-tabs--mselect > .ui-tabs-mselect { position: relative; display: block; }
    .ui-tabs-mselect::after { content: ""; position: absolute; top: 17.5px; right: 16px; width: 20px; height: 20px; background: var(--c-point); -webkit-mask: url("svg/arrow-down.svg?v=39.tp1bxl") center / 20px no-repeat; mask: url("svg/arrow-down.svg?v=39.tp1bxl") center / 20px no-repeat; pointer-events: none; }   /* 꺾쇠 = 포인트색 */
    .ui-tabs--mselect > .ui-tabs-list { display: none; }
    .ui-tabs-mselect select { width: 100%; height: 55px; padding: 0 44px 0 18px; border: 1.5px solid var(--c-point); border-radius: var(--r-tab3); background: var(--bg-white); font: var(--t-m-tab); color: var(--c-point); appearance: none; -webkit-appearance: none; cursor: pointer; }
    .select-3depth > i { position: absolute; top: 17.5px; right: 16px; width: 20px; height: 20px; color: var(--c-point); pointer-events: none; }
    .select-3depth-go { flex: none; height: 55px; padding: 0 16px; border: 0; border-radius: var(--r-tab3); background: var(--c-point); font: var(--t-m-tab); color: var(--bg-white); }
    .select-3depth:has(.select-3depth-go) > i { right: 96px; }
    /* 준비 중 — 연회색 박스(모서리 16 · 위 44 · 아래 48) · 그림 260 · 제목 22 두 줄 · 설명 16 세 줄 */
    .empty-page { gap: 16px; padding: 44px 24px 48px; background: var(--bg-m-util); border-radius: var(--r-card); }
    .empty-page-img { width: 260px; }
    .empty-page-title { margin: 0; font: var(--t-m-empty); color: var(--c-ink); }
    .empty-page-text { margin: 0; font: var(--t-m-sub); line-height: 1.65; color: var(--c-tab-m); }
    .empty-page-text br:not(.m-only) { display: inline; }

    /* 바닥글 — 위 40 · 아래 48 · 사이 20 · 회사 정보는 한 칸씩 한 줄(이름표 88 · 사이 10 · 줄 사이 6) */
    .site-footer-inner { gap: 20px; padding: 40px var(--gutter) 48px; }
    .footer-logo img { width: 118px; height: 39px; }
    .footer-company { display: flex; flex-direction: column; gap: 6px; margin: 0; }
    .ci-line { display: contents; }
    .footer-company, .footer-hours { align-self: stretch; }
    .footer-hours { display: flex; flex-direction: column; gap: 6px; margin: -14px 0 0; }
    .ci { display: flex; gap: 10px; font: var(--t-m-footer); font-weight: 600; }
    .ci-label { flex: none; width: 88px; font-weight: 500; color: var(--c-footer-label); } /* 모바일 = 이름표 회색 · 값 진하게(피그마 377:715) */
    .ci-value { flex: 1 1 0; min-width: 0; color: var(--c-footer); }
    .footer-divider { margin: 0; }
    .footer-docs { gap: 8px 16px; margin: 0; }
    .footer-doc { font: var(--t-m-footer-link); }
    .footer-copy { margin: 0; font: var(--t-m-footer-link); font-weight: 500; text-transform: none; }
}

@media (min-width: 1024px) {
    .m-drawer, .m-drawer:not([hidden]) { display: none; }
}

/* 버튼(ST-00 공통) */
.btn-point { display: inline-block; padding: 12px 28px; border-radius: var(--r-pill); background: var(--c-point); color: var(--c-white); font: var(--t-btn); }
.btn-line { display: inline-block; padding: 10px 24px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--c-title); font: var(--t-label); }

/* 메인(ST-01) — 섹션 위아래 120(모바일 64), 안쪽 .wrap 으로 1400 */
.main-section { padding: 120px 0; }
.main-news { background: var(--bg-gray); }
/* 섹션 머리 — 왼쪽 제목(+부제) · (오른쪽 더 보기) */
.sec-head { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.sec-head-text { display: flex; flex-direction: column; gap: 10px; }
.sec-title { font: var(--t-h2); color: var(--c-title); }
.sec-sub { margin: 0; font: var(--t-body); color: var(--c-body); }
.sec-more { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font: var(--t-label); color: var(--c-body); }
.sec-more i { width: 18px; height: 18px; }
/* 자세히 보기 화살표 링크(아이콘 arrow-right 16) — 아이콘 없는 옛 링크는 꺾쇠로 */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font: var(--t-label); color: var(--c-point); }
.link-arrow i { width: 16px; height: 16px; }
.link-arrow:not(:has(i))::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }

/* 메인 비주얼(ST-01 #1) — 1920×760, 배경 슬라이드 + 글자 + 넘김 표시 */
.main-visual { position: relative; height: 760px; background: var(--bg-hero); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.cms-slide-item { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.cms-slide-item.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cms-slide-item, .popup-track, .hero-bar-fill { transition: none; } }
.slide-bg, .slide-bg picture, .cms-slide-img { display: block; width: 100%; height: 100%; }
.cms-slide-img { object-fit: cover; }
/* 동영상 슬라이드(엔진 <video class="cms-slide-video">) = 사진과 같은 자리 · 크기로 꽉 차게(포스터 사진 위 · 어둡게 층 · 글 · 단추 아래) · 모바일(767px 이하)은 스타터 규칙대로 영상 숨김 · 첫 화면 이미지만(피그마 ST-13-12-1) */
.cms-slide-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .cms-slide-video { display: none; } }
.slide-bg { position: absolute; inset: 0; }
/* 전체 링크 — 슬라이드를 덮는 투명 링크 */
.slide-cover { position: absolute; inset: 0; z-index: 2; }
/* 글 올리기(overlay) — 위 230 · 사이 20, 위치는 data-align, 글자색은 data-tone */
.slide-overlay { position: absolute; left: 50%; transform: translateX(-50%); top: 230px; z-index: 1; width: 100%; /* .wrap 폭(1400) 안 왼쪽부터 */
    display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cms-slide-item[data-align="center"] .slide-overlay { align-items: center; text-align: center; }
.cms-slide-item[data-align="right"] .slide-overlay { align-items: flex-end; text-align: right; }
.slide-label { margin: 0; font: var(--t-label); color: var(--c-point); }
.slide-title { margin: 0; font: var(--t-hero); color: var(--c-title); }
.slide-sub { margin: 0; font: var(--t-body); color: var(--c-body); }
/* 밝은 글자(사진 위) — 글자 흰색 + 사진에 옅은 어두운 막(대비 4.5:1) */
.cms-slide-item[data-tone="light"] .slide-bg::after { content: ""; position: absolute; inset: 0; background: rgba(20, 23, 35, .35); }
.cms-slide-item[data-tone="light"] .slide-label { color: var(--c-white); }
.cms-slide-item[data-tone="light"] .slide-title, .cms-slide-item[data-tone="light"] .slide-sub { color: var(--c-white); }
.cms-slide-item[data-tone="light"] .slide-html { color: var(--c-white); }
/* 버튼 줄 — 부제와 사이 52(간격 20 + 12 + 20 · 피그마) */
.slide-buttons { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.slide-btn { display: inline-flex; align-items: center; height: 52px; padding: 0 28px; border-radius: var(--r-modal); font: var(--t-btn); }
.slide-btn--fill { background: var(--c-point); color: var(--c-white); }
.slide-btn--line { border: 1px solid var(--c-point); color: var(--c-point); }
.cms-slide-item[data-tone="light"] .slide-btn--line { border-color: var(--c-white); color: var(--c-white); }
.slide-html { position: relative; z-index: 1; max-width: 720px; }
/* 넘김 표시(01 ── 03 ← ‖ →) — 왼쪽 아래(아래 96) */
.hero-controls { position: absolute; left: 50%; transform: translateX(-50%); bottom: 96px; z-index: 3; width: 100%; display: flex; align-items: center; gap: 16px; }
.hero-controls[hidden] { display: none; } /* 슬라이드가 2장 이상일 때만 */
.hero-current { font: var(--t-label); color: var(--c-title); }
.hero-total { font: var(--t-body-sm); color: var(--c-sub); }
.hero-bar { width: 160px; height: 2px; background: var(--line-hero); overflow: hidden; }
.hero-bar-fill { display: block; height: 2px; background: var(--c-point); width: 0; transition: width .4s ease; }
.hero-btns { display: flex; gap: 8px; }
.hero-prev, .hero-next, .hero-pause { display: inline-flex; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--c-title); cursor: pointer; }
.hero-btns i { width: 24px; height: 24px; }
/* 멈춘 상태면 ▶(다시 재생) 모양 */
.hero-pause .icon-play, .hero-pause[aria-pressed="true"] .icon-pause { display: none; }
.hero-pause[aria-pressed="true"] .icon-play { display: inline-flex; }

/* 사업분야(ST-01 #2) — 카드 3개 · 이미지 451×260 · 이미지와 글 사이 26 */
.biz-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.biz-card a { display: flex; flex-direction: column; gap: 26px; }
.biz-thumb { display: block; flex: none; height: 260px; background: var(--bg-image); border-radius: var(--r-card); overflow: hidden; }
.biz-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.biz-name { font: var(--t-card); color: var(--c-title); }
.biz-desc { font: var(--t-body); color: var(--c-body); }

/* 새 소식(ST-01 #3) — 흰 카드 2개(모서리 20) · 최신 5개 · 날짜 월-일 */
.news-tabs { display: none; }
.news-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } /* 긴 제목은 … 으로(칸이 넓어지지 않게) */
.news-card { background: var(--bg-white); border-radius: var(--r-modal); padding: 28px 32px 16px; }
.news-card-title { display: flex; align-items: center; justify-content: space-between; margin: 0; padding-bottom: 16px; font: var(--t-card); color: var(--c-title); }
.news-more { display: inline-flex; width: 22px; height: 22px; color: var(--c-body); }
.news-more i { width: 22px; height: 22px; }
.news-more-m { display: none; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-weak); }
.news-item-title { font: var(--t-body); color: var(--c-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list a:hover .news-item-title { color: var(--c-title); }   /* 밑줄 뺌 */
.news-item-date { font: var(--t-body-sm); color: var(--c-sub); flex: none; }
.news-empty { padding: 24px 0; color: var(--c-sub); border-top: 1px solid var(--line-weak); }

/* 인증 · 수상(ST-01 #4) — 카드 4개 · 이미지 332×360 · 이름 17 */
.awards-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.awards-list a { display: flex; flex-direction: column; gap: 26px; }
.awards-thumb { display: block; aspect-ratio: 332/360; background: var(--bg-image); border-radius: var(--r-card); overflow: hidden; }
.awards-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.awards-title { display: block; font: var(--t-btn); color: var(--c-title); word-break: keep-all; hyphens: manual; }
.awards-list .news-empty { grid-column: 1 / -1; }

/* 바로가기(ST-01 #5) — 남색 카드 + 중립 카드(모서리 24) · 위 여백 없이 아래 120 */
.main-shortcut { padding-top: 0; }
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.shortcut { display: flex; align-items: center; gap: 24px; padding: 44px 48px; border-radius: var(--r-card-lg); }
.shortcut--point { background: var(--c-point); }
.shortcut--mute { background: var(--bg-mute); }
.shortcut-text { display: flex; flex-direction: column; gap: 8px; }
.shortcut-text strong { font: var(--t-card); }
.shortcut-text span { font: var(--t-body); }
.shortcut--point .shortcut-text { color: var(--c-white); }
.shortcut--mute .shortcut-text strong { color: var(--c-title); }
.shortcut--mute .shortcut-text span { color: var(--c-body); }
.shortcut-btn { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-pill); background: var(--c-white); font: var(--t-label); color: var(--c-point); }
.shortcut-btn i { width: 16px; height: 16px; }
.shortcut--mute .shortcut-btn { color: var(--c-title); }

@media (max-width: 767px) {
    .main-section { padding: 64px 0; }
    .main-shortcut { padding-top: 0; }
    .sec-head { margin-bottom: 24px; }
    .sec-head-text { gap: 6px; }
    .sec-title { font: var(--t-page); }
    .sec-sub { font: var(--t-body-sm); }
    .sec-more { gap: 4px; align-self: center; }
    .sec-more i { width: 16px; height: 16px; }

    /* 메인 비주얼 — 375×560 · 글 위 150 · 사이 14 · 넘김 표시는 아래 40(01 ── 03 · 멈춤) */
    .main-visual { height: 560px; }
    .slide-overlay { top: 150px; gap: 14px; }
    .slide-title { font: var(--t-page); }
    .slide-sub { font: var(--t-body-sm); }
    .slide-buttons { margin-top: 0; }
    .slide-btn { height: 44px; padding: 0 20px; font: var(--t-label); }
    .hero-controls { bottom: 40px; gap: 12px; }
    .hero-bar { width: 100px; }
    .hero-prev, .hero-next { display: none; }
    .hero-pause, .hero-btns i { width: 20px; height: 20px; }

    /* 사업분야 — 가로형 목록(사진 110 · 이름 17 · 설명 15) */
    .biz-cards { grid-template-columns: 1fr; gap: 24px; }
    .biz-card a { flex-direction: row; align-items: center; gap: 16px; }
    .biz-thumb { width: 110px; height: 110px; border-radius: var(--r-box); }
    .biz-meta { flex: 1 1 0; min-width: 0; gap: 6px; }
    .biz-name { font: var(--t-btn); }
    .biz-desc { font: var(--t-body-sm); }
    .biz-meta .link-arrow { display: none; }

    /* 새 소식 — 탭(공지사항 · 보도자료)으로 바꿔 봄 · 한 장씩 · 아래 "더 보기" */
    .news-tabs { display: inline-flex; padding: 4px; margin-bottom: 24px; border-radius: var(--r-pill); background: var(--bg-tabs); }
    .news-tab { padding: 8px 20px; border: 0; border-radius: var(--r-pill); background: none; font: var(--t-label); color: var(--c-sub); cursor: pointer; }
    .news-tab[aria-selected="true"] { background: var(--bg-white); color: var(--c-title); }
    .news-cols { grid-template-columns: 1fr; gap: 0; }
    .news-card { display: none; padding: 0; background: none; border-radius: 0; }
    .news-card.is-active { display: block; }
    .news-card-title { display: none; }
    .news-list { padding: 6px 20px; background: var(--bg-white); border-radius: var(--r-card); }
    .news-list li:nth-child(n+5) { display: none; } /* 모바일은 4개 */
    .news-list li a { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 0; }
    .news-list li:first-child a, .news-list li:first-child.news-empty { border-top: 0; }
    .news-item-title { white-space: normal; }
    .news-more-m { display: flex; width: max-content; align-items: center; gap: 4px; margin-top: 24px; font: var(--t-label); color: var(--c-body); }
    .news-more-m i { width: 16px; height: 16px; }

    /* 인증 · 수상 — 두 칸(사진 161×206) · 부제 없이 */
    .main-awards .sec-sub { display: none; }
    .awards-list { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
    .awards-list a { gap: 16px; }
    .awards-thumb { aspect-ratio: 161.5/206; border-radius: var(--r-box); }
    .awards-title { font: var(--t-label); }

    /* 바로가기 — 세로로(모서리 20 · 안 24/28) */
    .shortcuts { grid-template-columns: 1fr; gap: 12px; }
    .shortcut { flex-direction: column; align-items: flex-start; gap: 0; padding: 28px 24px; border-radius: var(--r-modal); }
    .shortcut-text span { font: var(--t-body-sm); }
    .shortcut-btn { margin: 22px 0 0; gap: 6px; padding: 10px 18px; } /* 글과 사이 22(간격 8 + 6 + 8) */
}

/* 레이어팝업 존(ST-01-1 · SG-00 #10) — 첫 화면을 어둡게(72%) 덮고 가운데에 모아 보여 줌.
   한 번에 1 · 2 · 3개(카드 폭 480 · 400 · 360 · 사이 24 · 모서리 20), 더 많으면 옆으로 넘김. 모바일은 1개(300)씩 · 다음 장이 살짝 보임. */
.popup-zone { position: fixed; inset: 0; z-index: calc(var(--yes-z-up, 0) + 1000); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 110px 0 20px; } /* 제목이 위에서 110 */
.popup-zone[hidden] { display: none; }
.popup-dim { position: fixed; inset: 0; background: var(--bg-dim); }
.popup-box { --pw: 400px; --pgap: 24px; position: relative; display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.popup-zone[data-count="1"] .popup-box { --pw: 480px; }
.popup-zone[data-count="3"] .popup-box { --pw: 360px; }
.popup-head { display: flex; align-items: center; justify-content: center; gap: 10px; height: 24px; }
.popup-title { margin: 0; font: var(--t-card); color: var(--c-white); }
.popup-all-m { display: none; }
.popup-viewport { width: calc(var(--pw) * var(--pv, 2) + var(--pgap) * (var(--pv, 2) - 1)); margin-top: 56px; overflow: hidden; }
.popup-track { display: flex; gap: var(--pgap); transition: transform .4s ease; }
.popup-card { position: relative; flex: none; width: var(--pw); border-radius: var(--r-modal); overflow: hidden; background: var(--bg-image); }
.popup-card img { display: block; width: 100%; height: auto; }
.popup-num { display: none; }
/* 넘김 · 멈춤 — PC 는 제목 줄 오른쪽(카드 오른쪽 끝에 맞춤) */
.popup-ctrl { position: absolute; top: 4px; right: 0; display: flex; align-items: center; gap: 14px; }
.popup-prev, .popup-next, .popup-pause { display: inline-flex; width: 22px; height: 22px; padding: 0; border: 0; background: none; color: var(--c-white); cursor: pointer; }
.popup-ctrl i { width: 22px; height: 22px; }
.popup-zone.is-still .popup-ctrl { visibility: hidden; } /* 다 보이면(넘길 게 없으면) 숨김 */
.popup-zone.is-allfit .popup-pause { display: none; } /* 다 보이면 자동 넘김 없음 → ‖ 숨김 */
.popup-pause .icon-play, .popup-pause[aria-pressed="true"] .icon-pause { display: none; }
.popup-pause[aria-pressed="true"] .icon-play { display: inline-flex; }
/* 아래 줄 — 흰 테두리 2px 둥근 버튼(높이 50 · 글자 16 SemiBold): [전체 보기] [□ 오늘 하루 이 창을 열지 않음] [닫기 ✕] */
.popup-foot { display: flex; justify-content: center; gap: 20px; margin-top: 41px; }
.popup-all, .popup-hide, .popup-close { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border: 2px solid var(--c-white); border-radius: var(--r-pill); background: none; font: var(--t-popup-btn); color: var(--c-white); cursor: pointer; }
.popup-all { width: 66px; }
.popup-all i { width: 22px; height: 22px; }
.popup-hide { gap: 11px; padding: 0 20px 0 22px; }
.popup-hide input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.popup-check { display: inline-flex; width: 24px; height: 24px; border-radius: 2px; background: var(--c-white); color: var(--c-title); }
.popup-check i { width: 24px; height: 24px; visibility: hidden; }
.popup-hide input:checked + .popup-check i { visibility: visible; }
.popup-hide:focus-within { outline: 2px solid var(--c-white); outline-offset: 2px; }
.popup-close { padding: 0 31px; }
.popup-close i { width: 14px; height: 14px; }

@media (max-width: 767px) {
    .popup-zone { padding: 96px 0 20px; }
    .popup-box { --pw: 300px; --pgap: 16px; width: 100%; }
    .popup-zone[data-count] .popup-box { --pw: 300px; }
    .popup-all-m { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 2px solid var(--c-white); border-radius: var(--r-card); color: var(--c-white); }
    .popup-all-m i { width: 18px; height: 18px; }
    .popup-viewport { width: 100%; margin-top: 32px; }
    .popup-track { padding: 0 calc((100% - var(--pw)) / 2); }
    .popup-num { display: block; position: absolute; top: 16px; right: 16px; font: var(--t-label); color: var(--c-white); }
    .popup-ctrl { position: static; justify-content: center; gap: 10px; margin-top: 20px; }
    .popup-prev, .popup-next, .popup-pause, .popup-ctrl i { width: 20px; height: 20px; }
    .popup-foot { gap: 6px; margin-top: 30px; }
    .popup-foot .popup-all { display: none; }
    .popup-all, .popup-hide, .popup-close { height: 44px; }
    .popup-hide { gap: 8px; padding: 0 16px; }
    .popup-close { padding: 0 16px; }
}

/* 오류 화면(ST-12-2 404) — 머리말·바닥글 안의 안내 박스 */
.error-box { background: var(--bg-gray); border-radius: var(--r-card-lg); padding: 72px 20px 80px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.error-code { margin: 0; font: 800 56px/1 var(--font); color: var(--c-point); }
.error-title { margin: 0; font: 600 32px/1 var(--font); color: var(--c-title); }
.error-text { margin: 0; font: var(--t-body); color: var(--c-body); }
.error-actions { display: flex; gap: 10px; padding-top: 20px; flex-wrap: wrap; justify-content: center; }
.error-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 32px; border-radius: var(--r-box-sm); border: 1px solid var(--line-strong); background: var(--bg-white); color: var(--c-title); font: 600 17px/1 var(--font); }
.error-btn--point { background: var(--c-point); border-color: var(--c-point); color: var(--bg-white); }

/* 점검 중 · 준비 중(ST-12-3) — 머리말·바닥글 없는 독립 화면 */
.status-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-gray); padding: 20px; }
.status-page #main { width: 100%; display: flex; justify-content: center; }
.status-card { width: 100%; max-width: 760px; box-sizing: border-box; background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-modal); padding: 64px 80px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.status-icon { width: 80px; height: 80px; border-radius: var(--r-pill); background: var(--bg-point); display: inline-flex; align-items: center; justify-content: center; color: var(--c-point); }
.status-icon i, .status-icon svg { width: 40px; height: 40px; display: block; }
.status-title { margin: 0; font: 600 32px/1 var(--font); color: var(--c-title); }
.status-text { margin: 0; font: var(--t-body); color: var(--c-body); }
.status-info { width: 100%; box-sizing: border-box; background: var(--bg-gray); border-radius: var(--r-box); padding: 20px 28px; display: flex; flex-direction: column; gap: 10px; }
.status-info-row { display: flex; gap: 16px; align-items: flex-start; }
.status-info-label { flex: none; width: 90px; font: var(--t-label); color: var(--c-sub); text-align: left; }
.status-info-value { font: var(--t-body); color: var(--c-title); text-align: left; }
.status-copy { margin: 0; font: var(--t-body-sm); color: var(--c-sub); }

@media (max-width: 767px) {
    .error-code { font-size: 44px; }
    .error-title, .status-title { font-size: 24px; }
    .status-card { padding: 48px 24px; }
}

/* ── 공통 UI 부품(data-ui · common.js) — 콘텐츠 · 템플릿에서 붙여 씀. 템플릿은 이 class 로 모양을 바꿀 수 있어요. ── */
/* 탭: 서브 탭(ST-00)과 같은 톤 — 아래 선 · 고른 탭 포인트색 3 · 16 → 17 SemiBold */
.ui-tabs-list { display: flex; overflow-x: auto; margin-bottom: 32px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.ui-tab { flex: none; margin-bottom: -1px; padding: 16px 28px; border: 0; border-bottom: 3px solid transparent; background: none; font: var(--t-body); color: var(--c-body); cursor: pointer; white-space: nowrap; }
.ui-tab:hover { color: var(--c-title); }
.ui-tab[aria-selected="true"] { border-bottom-color: var(--c-point); font: var(--t-btn); color: var(--c-point); }
[data-ui="tabs"].is-ready .ui-tab-heading { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.ui-tab-panel:focus-visible { outline: 2px solid var(--c-point); outline-offset: 4px; }
.ui-tab-panel:target:focus-visible { outline: 0; }   /* 주소 #칸 으로 열면 브라우저가 그 칸에 초점을 줘 테두리가 보이던 것(C-07 #report-yonsei) */
/* 사진 넘김: 옆으로 밀어 보는 줄(스크립트 없어도) · 단추 48 흰 원(넘김 단추 그림 = 아이콘 파일) · 끝이면 흐리게 · 한 화면에 다 보이면 단추 숨김 */
[data-ui="slider"] { position: relative; }
.ui-slider-track, [data-ui="slider"] > ul, [data-ui="slider"] > ol { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ui-slider-track::-webkit-scrollbar { display: none; }
.ui-slide { flex: none; max-width: 100%; scroll-snap-align: start; } /* 한 장 ≤ 칸 너비(e2e U2-15 · 큰 사진이면 장이 사진 원래 너비라 마지막까지 못 넘겼어요) · 안 사진은 max-width:100% 로 줄어요 */
/* 마우스로 끌어 넘기기(PC 마우스만 · 손가락은 기본 밀기) — 끄는 동안 붙기 끔 · 글자 선택 · 사진 끌기 막기 */
.ui-slider-track.is-grab { cursor: grab; user-select: none; -webkit-user-select: none; } /* 누르는 순간부터 글자 · 사진 선택 막기 — 끌 때 파르스름하게 희미해지던 것 */
.ui-slider-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; -webkit-user-select: none; opacity: 1; } /* opacity 1 = 관리모드 순서 끌기 규칙(product.css .is-dragging { opacity: .5 })이 슬라이드 줄에 걸려 희미해지던 것 */
.ui-slider-track.is-dragging a, .ui-slider-track.is-dragging img { pointer-events: none; }
.ui-slider-track img { -webkit-user-drag: none; }
.ui-slider-prev, .ui-slider-next { position: absolute; top: 50%; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg-white); color: var(--c-title); cursor: pointer; transform: translateY(-50%); }
.ui-slider-prev { left: -24px; } .ui-slider-next { right: -24px; }
.ui-slider-prev:empty::before, .ui-slider-next:empty::before { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: url("svg/arrow-left.svg?v=39.tp1bxl") center / contain no-repeat; mask: url("svg/arrow-left.svg?v=39.tp1bxl") center / contain no-repeat; }
.ui-slider-next:empty::before { -webkit-mask-image: url("svg/arrow-right.svg?v=39.tp1bxl"); mask-image: url("svg/arrow-right.svg?v=39.tp1bxl"); }
.ui-slider-prev i, .ui-slider-next i { width: 24px; height: 24px; }
.ui-slider-prev:disabled, .ui-slider-next:disabled { opacity: .35; cursor: default; }
[data-ui="slider"].is-static .ui-slider-prev, [data-ui="slider"].is-static .ui-slider-next { display: none; }
@media (max-width: 767px) {
    .ui-tabs-list { margin-bottom: 24px; }
    .ui-tab { padding: 14px 16px; }
    .ui-slider-track, [data-ui="slider"] > ul, [data-ui="slider"] > ol { gap: 12px; }
    .ui-slider-prev, .ui-slider-next { display: none; } /* 모바일은 밀어서 */
}

/* ── 무경 메인 팝업(M-01-1 PC 143:2717 · 모바일 380:416) — 스타터 팝업 위에 피그마 값만 덮어요(엔진 HTML 그대로) ── */
.popup-dim { background: var(--bg-mg-popup-dim); }
.popup-zone { padding-top: 116px; }
.popup-head { height: 39px; }
.popup-title { font: var(--t-mg-popup-title); }
.popup-zone[data-count="2"] .popup-box { --pw: 636px; --pgap: 50px; }
/* 1장도 636(그림 636 × 520 · 권장 크기) · 화면이 좁으면(1322 + 양옆 여백보다) 칸을 화면 안에 맞게 줄임(그림 비율 그대로 · 넘침 · 잘림 없음) · 3장은 360 그대로 */
@media (min-width: 768px) {
    .popup-zone[data-count="1"] .popup-box { --pw: min(636px, calc(100vw - var(--gutter) * 2)); }
    .popup-zone[data-count="2"] .popup-box { --pw: min(636px, calc((100vw - var(--gutter) * 4 - 50px) / 2)); }
}
.popup-viewport { margin-top: 46px; }
.popup-card { border-radius: var(--r-mg-popup); }
.popup-ctrl { top: 8px; right: 14px; gap: 17px; } /* ‹ ‖ › 제목 줄 오른쪽(1514 · 1552 · 1593) */
.popup-foot { margin-top: 60px; }
.popup-foot .popup-all { display: none; } /* 피그마에 [전체 보기] 없음 */
.popup-hide { padding: 0 28px 0 24px; }
.popup-close { gap: 29px; padding: 0 30px 0 31px; }

@media (max-width: 767px) {
    .popup-zone { padding-top: 72px; }
    .popup-head { justify-content: flex-start; width: 100%; height: 28px; padding: 0 20px; }
    .popup-title { font: var(--t-mg-popup-title-m); }
    .popup-all-m, .popup-num { display: none; }
    .popup-zone[data-count] .popup-box { --pw: 335px; --pgap: 16px; }
    .popup-viewport { width: var(--pw); margin-top: 18px; } /* 칸 폭 335 에서 자름 — 다음 팝업 끝이 오른쪽에 비치지 않게(피그마 380:425) */
    .popup-track { padding: 0; }
    .popup-card { border-radius: var(--r-mg-popup-m); }
    .popup-ctrl { position: absolute; top: 6px; right: 20px; margin: 0; gap: 6.5px; } /* 380:421 머리 줄 오른쪽 */
    .popup-prev, .popup-next, .popup-pause, .popup-ctrl i { width: 16px; height: 16px; }
    .popup-foot { gap: 10px; margin-top: 18px; }
    .popup-all, .popup-hide, .popup-close { height: 49px; border-width: 1px; font: var(--t-mg-popup-btn-m); }
    .popup-hide { width: 240px; justify-content: flex-start; gap: 8px; padding: 0 0 0 17px; }
    .popup-check { width: 20px; height: 20px; }
    .popup-check i { width: 20px; height: 20px; }
    .popup-close { width: 85px; gap: 8px; padding: 0; }
}
/* 넘김 아이콘 = 피그마 꺾쇠 ‹ ‖ ›(엔진은 화살표 아이콘을 넣어요 → 무경은 모양만 바꿈) */
.popup-ctrl i { display: block; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.popup-ctrl i svg { display: none; }
.popup-prev i { width: 6px; height: 11px; -webkit-mask-image: url("svg/chev-l.svg?v=39.tp1bxl"); mask-image: url("svg/chev-l.svg?v=39.tp1bxl"); }
.popup-next i { width: 6px; height: 11px; -webkit-mask-image: url("svg/chev-r.svg?v=39.tp1bxl"); mask-image: url("svg/chev-r.svg?v=39.tp1bxl"); }
.popup-pause .icon-pause { width: 7px; height: 12px; -webkit-mask-image: url("svg/pause-bars.svg?v=39.tp1bxl"); mask-image: url("svg/pause-bars.svg?v=39.tp1bxl"); }
.popup-pause .icon-play { width: 12px; height: 12px; -webkit-mask-image: url("svg/play.svg?v=39.tp1bxl"); mask-image: url("svg/play.svg?v=39.tp1bxl"); }
.popup-prev, .popup-next, .popup-pause { align-items: center; justify-content: center; }
@media (max-width: 767px) {
    .popup-prev i, .popup-next i { width: 5px; height: 10px; }
    .popup-pause .icon-pause { width: 6px; height: 8px; }
}

/* ── 인쇄 — [인쇄] = 본문만. 스타터 인쇄 규칙 + 무경에만 있는 부품(빠른 메뉴 · [이전] · 아래 단추 · 견적 단계 · 관리모드) ── */
@media print {
  .skip-link, .site-header, .site-footer, .sub-visual, .sub-tabs, .tabs-3depth, .page-actions, .page-action, .search-pop, #mobile-nav, .popup-zone,
  .comments, .board-nav, .board-view-foot, .board-search, .board-pager, [data-ui="print"], [data-ui="share"],
  .mg-quick, .pv-back, .pv-btns, .pv-list, .qt-head, .qt-steps, .qt-btns, .qt-pick, .pv-am-bar, .am-mobile, [class*="am-on-btn"], #yes-amon { display: none !important; } /* #yes-amon = 관리자에게만 보이는 [관리모드 켜기] */
  body { background: #fff; }
  .wrap, .page-wrap, main { max-width: none; padding-left: 0; padding-right: 0; }
  .sub-body { padding-top: 0; }
  :is(.board-view-body, .cms-content) a[href^="http"]::after { content: " (" attr(href) ")"; color: var(--c-body); word-break: break-all; }
  img, table, figure, .board-files, .pv-spec tr, .qt-done-box { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  [data-ui="tabs"] [role="tabpanel"][hidden] { display: block !important; }
  .mk-wide-text { opacity: 1 !important; transform: none !important; } .mk-wide::after { opacity: 1 !important; } /* 스크롤로 나타나는 사진 띠 글(C-01 · C-03) = 인쇄 땐 다 보이게 */ /* 탭 안 숨은 칸도 모두 인쇄 */
}

/* 인증서 목록 구분 탭 — 3차 탭 부품 그대로 · 탭 묶음 span 은 칸을 만들지 않음(첫 · 끝 모서리 규칙이 탭끼리 맞게) */
.mg-kind-list { display: contents; }

/* 셀렉트 펼침 부품(ui-select) — 펼친 동안 감싼 칸의 화살표 뒤집기(무경 셀렉트 화살표 = 감싼 칸 바로 안 i) */
.ys-open > i { transform: rotate(180deg); }

/* 관리모드 저장 전 표시(피그마 A-12 ② 489:515) — [임시저장] · [게시] 전까지만 · 저장하면 보통 모양 */
.pv-am-thumb.is-new, .pv-am-color-photos li.is-new, .am-photo.is-new { opacity: .5; }
.am-new-chip { position: absolute; top: 6px; left: 6px; z-index: 1; padding: 2px 8px; border-radius: 10px; background: var(--c-point); font-size: 12px; font-weight: 600; line-height: normal; color: var(--c-white); white-space: nowrap; pointer-events: none; }
.am-cover-chip { background: var(--bg-point); color: var(--c-point); }
.am-save-note { margin-left: 8px; font-size: 13px; font-weight: 500; font-style: normal; color: var(--c-am-draft-dot); }
.pv-am-color.is-new { border: 1px dashed var(--c-point); }
.am-new-tag { font-size: 12px; font-weight: 600; font-style: normal; color: var(--c-am-draft-dot); }

/* 꺼 둔 단추 · 안내 말풍선(피그마 A-12 ③ 489:558) — 꺼짐 40% · 말풍선 = 단추 위 8 */
.am-off { opacity: .4; cursor: not-allowed; }
.am-tip { position: fixed; z-index: 1100; box-sizing: border-box; max-width: 320px; padding: 8px 12px; border-radius: 6px; background: var(--c-title); font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--c-white); word-break: keep-all; pointer-events: none; }
@media print { .am-tip { display: none; } }

/* 숫자 올라가기 — 안 보이는 목표 숫자 위에 올라가는 숫자를 겹쳐 폭이 안 흔들림 */
.count-up { display: inline-grid; font-variant-numeric: tabular-nums; }
.count-up > .count-up-ghost, .count-up > .count-up-run { grid-area: 1 / 1; text-align: right; }
.count-up-ghost { visibility: hidden; }

/* ── 스크롤 나타나기 공통 부품 — 클래스만 붙이면 돼요(콘텐츠 HTML 은 class 만 남아서)
   .mg-reveal = 그 칸 하나 · .mg-reveal-group = 바로 아래 자식들이 위 → 아래 차례로(0.12초 간격)
   위에서 24px 내려오며 나타남 · 0.8초 · 화면에 20% 들어올 때 한 번만. 스크립트 없음 · 움직임 줄이기 · 인쇄 = 처음부터 보임. */
html.mg-js .mg-reveal, html.mg-js .mg-reveal-group > * { opacity: 0; transform: translateY(-24px); transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1); transition-delay: calc(var(--mg-i, 0) * .12s); }
html.mg-js .mg-reveal.is-in, html.mg-js .mg-reveal-group.is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.mg-js .mg-reveal, html.mg-js .mg-reveal-group > * { opacity: 1; transform: none; transition: none; }
}
@media print {
  html.mg-js .mg-reveal, html.mg-js .mg-reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* [무경] 제품 사진 칸 한 가지 모양 — 사진 흰 바탕을 칸 바탕색에 녹임(darken = 둘 중 어두운 색 · 흰 둘레 = 칸 바탕 그대로 · 제품 색은 그대로) · 통째로 보이게 contain.
   쓰는 곳: 인증 상세 「이 자료를 쓰는 제품」 · 설치사례 상세 적용 제품 · 메인 주력 상품 · 견적 폼 담은 제품 · 견적 [제품 선택] 창 · 견적 상세(고객 · A-05) · 관리모드 A-08 고르기 창 · A-09 적용 제품 줄 · 주력 상품 편집 창.
   검색 제품 카드는 엔진이 그린 칸이라 content-base.css 의 「제품 결과」 규칙(같은 darken). 제품 목록 카드 · 상세 큰 사진은 product.css multiply(세로 칸이라 둘레 안 보임). */
:root .mg-prod-photo img { object-fit: contain; mix-blend-mode: darken; }

/* 사이트맵 창(PC ☰ · 피그마 M-02-1 622:572 · 메모 622:628) — 화면 전체 흰 창 · 머리는 흰 바탕 · 머리 메뉴 숨김 · ☰ 자리 ✕ · 머리 아래 1px 선 ·
   제목 36(머리 선 아래 59) · 2px 선 1500(제목 아래 50) · 칸(선 아래 36) = 1차 수만큼 같은 폭(5칸 = 300) · 세로선 = 글 왼쪽 24 · 높이 560 ·
   1차 22 + 남색 24 × 2(14 아래) · 2차 17(남색 줄 아래 26 · 간격 34) · 3차 15 회색 · 들여쓰기 14 · 간격 28 · 지금 페이지 = 포인트색 굵게 · 올림 = 포인트색 */
.site-header.is-sitemap { z-index: calc(var(--yes-z-up, 0) + 61); background: var(--bg-white); box-shadow: 0 1px 0 var(--line-sitemap); }
.site-header.is-sitemap .gnb { visibility: hidden; }
.nav-toggle.is-sitemap > * { visibility: hidden; }
.nav-toggle.is-sitemap { position: relative; }
.nav-toggle.is-sitemap::after { content: ""; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; background: currentColor; -webkit-mask: url("svg/close.svg?v=39.tp1bxl") center / contain no-repeat; mask: url("svg/close.svg?v=39.tp1bxl") center / contain no-repeat; }
.mg-sitemap { position: fixed; inset: 0; z-index: calc(var(--yes-z-up, 0) + 60); overflow-y: auto; box-sizing: border-box; padding: calc(var(--header-h) + 1px) var(--gutter) 80px; background: var(--bg-white); }
.mg-sitemap[hidden] { display: none; }
.mg-sitemap-inner { max-width: 1500px; margin: 0 auto; }
.mg-sitemap-title { margin: 59px 0 0; padding-bottom: 50px; border-bottom: 2px solid var(--c-title); font: var(--t-sitemap-title); color: var(--c-title); text-align: center; outline: 0; }
.mg-sitemap-cols { display: grid; grid-template-columns: repeat(var(--mg-sitemap-n, 5), minmax(0, 1fr)); margin-top: 36px; }
.mg-sitemap-col { position: relative; min-height: 560px; padding-right: 24px; }
.mg-sitemap-col + .mg-sitemap-col::before { content: ""; position: absolute; top: 0; left: -24px; width: 1px; height: 560px; background: var(--line-sitemap); }
.mg-sitemap-1 { display: inline-block; font: var(--t-sitemap-1); color: var(--c-title); }
.mg-sitemap-1::after { content: ""; display: block; width: 24px; height: 2px; margin-top: 14px; background: var(--c-point); }
.mg-sitemap-2s, .mg-sitemap-3s { margin: 0; padding: 0; list-style: none; }
.mg-sitemap-2s { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.mg-sitemap-2 { display: block; width: fit-content; font: var(--t-sitemap-2); color: var(--c-body); }
.mg-sitemap-3s { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 6px 14px; }
.mg-sitemap-3 { display: block; width: fit-content; font: var(--t-sitemap-3); color: var(--c-mute); }
.mg-sitemap-3::before { content: "· "; }
.mg-sitemap a { text-decoration: none; }
.mg-sitemap a:hover { color: var(--c-point); }
.mg-sitemap a.is-current { font-weight: 700; color: var(--c-point); }
.mg-sitemap a:focus-visible, .mg-sitemap-title:focus-visible { outline: 2px solid var(--c-point); outline-offset: 2px; }
@media (max-width: 1023px) { .mg-sitemap { display: none !important; } }

/* 사진 없는 제품 = 사진 칸 정가운데 사이트 로고 회색 단색(피그마 「디자인」 635:602) — 칸 너비 30%(316 칸 = 94 × 32) · 최대 160 · #DBDBDB ·
   로고 그림 = 사이트 설정 로고(스크립트가 머리 로고 주소를 --mg-logo 로 넘김) 를 mask 로 칠함 · 꾸밈(글 없음) · 로고도 없으면 빈 바탕 그대로.
   목록 카드 · 메인 카드 · 상세 큰 칸 · 관련 제품 · 견적 줄 · 고르기 창 · 관리모드 카드 · 수정 화면 사진 칸 */
.pc-card-photo, .mg-prod-photo, .qt-thumb, .pc-am-thumb, .pv-gallery { position: relative; }
:is(.pc-card-photo, .mg-prod-photo, .qt-thumb, .pc-am-thumb) img:not([src]), :is(.pc-card-photo, .mg-prod-photo, .qt-thumb, .pc-am-thumb) img[src=""] { display: none; }
:is(.pc-card-photo, .mg-prod-photo, .qt-thumb, .pc-am-thumb):not(:has(img[src]:not([src=""])))::after,
.pv-gallery:not(:has([data-ui="color-photo"]))::before, .pv-gallery.is-new-empty::before { content: ""; position: absolute; inset: 0; z-index: 0; margin: auto; width: 30%; max-width: 160px; height: auto; aspect-ratio: 94 / 32; background: var(--mg-logo-on, transparent); -webkit-mask: var(--mg-logo, none) center / contain no-repeat; mask: var(--mg-logo, none) center / contain no-repeat; pointer-events: none; }

/* 레이어팝업 목록 · 상세(방문자 /popup) — 스타터 ST-12-4 · 12-5 모양을 무경 값으로(무경엔 이 구간이 없어 그림이 원래 크기로 줄줄이 나왔어요).
   카드 PC 3 · 태블릿(≤ 1023) 2 · 휴대폰 1 · 그림 칸 = 무경 팝업 비율 636:520 · 그림 전체(contain) · 바탕 #F5F6F8 · 제목 · 기간 · 칩. 분류 탭 · 「전체 n 건」 줄은 그대로. */
.popup-page { display: flex; flex-direction: column; gap: 24px; }
.popup-page > .board-top { margin: 0; }
.popup-page > .board-top + .board-empty { margin-top: 0; }
.popup-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.popup-item a { display: flex; flex-direction: column; gap: 20px; color: inherit; text-decoration: none; }
.popup-item-img { position: relative; display: block; overflow: hidden; aspect-ratio: 636 / 520; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-popup-thumb); }
.popup-item-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.popup-chip { position: absolute; top: 11px; left: 11px; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--bg-white); font: var(--t-label); color: var(--c-sub); }
.popup-item-meta { display: flex; flex-direction: column; gap: 10px; word-break: keep-all; }
.popup-item-title { font: var(--t-btn); color: var(--c-title); }
.popup-item-date { font: var(--t-body-sm); color: var(--c-sub); }
.popup-item.is-ended a { opacity: .5; }
.popup-item a:hover .popup-item-title, .popup-item a:focus-visible .popup-item-title { text-decoration: underline; }
.popup-view-body { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.popup-view-body > .popup-view-img { display: block; width: 636px; max-width: 100%; height: auto; margin: 0; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-popup-thumb); object-fit: contain; }
.popup-view-text { align-self: stretch; padding-top: 20px; }
.popup-view-text > :first-child { margin-top: 0; }
.popup-view-text > :last-child { margin-bottom: 0; }
.popup-view-more { display: inline-flex; align-items: center; gap: 6px; height: 52px; padding: 0 20px 0 24px; border-radius: var(--r-pill); background: var(--c-point); font: var(--t-label); color: var(--c-white); text-decoration: none; }
.popup-view-more svg, .popup-view-more i { width: 18px; height: 18px; }
@media (max-width: 1023px) { .popup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .popup-page { gap: 16px; }
    .popup-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .popup-item a { gap: 14px; }
    .popup-item-img { border-radius: var(--r-box-sm); }
    .popup-item-meta { gap: 8px; }
    .popup-view-body > .popup-view-img { width: 100%; border-radius: var(--r-box); }
    .popup-view-body { gap: 10px; }
    .popup-view-more { height: 44px; }
}

/* [무경] 관리모드 인증 · 설치사례 목록 카드(피그마 [새 안] A-13 814:867 · 지은 11-18) — 방문자 카드(M-04-1 · M-27-0) 그대로 + 관리 부품 셋:
   ≡ 둥근 손잡이(사진 왼쪽 위 14 · 32 · 흰 바탕 · 그림자 · 인증만) · 「숨김」 칩(사진 오른쪽 위) · 아래 줄 오른쪽 공개 스위치(40 × 22 · 제품 목록 A-01 과 같은 부품 pc-am-switch).
   아래 줄(발급기관 · 날짜 | 스위치)은 카드 바닥 → 제목이 두 줄이어도 같은 줄 카드끼리 높이 같음. 숨긴 카드 = 사진 흐리게(.45). 수정 · 삭제는 글 안 하단. */
/* 1024 이상만 카드 칸을 풀어 놓아요(링크 · 글 묶음 display: contents) — 간격은 방문자 카드와 같게(사진 → 제목 26 · 제목 → 아래 줄 10 · content-base.css 605 · 642). 1023 이하는 방문자 카드 그대로. */
.gallery-card:has(> .mg-am-bar) { position: relative; }
@media (min-width: 1024px) {
  .gallery-card:has(> .mg-am-bar) { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; column-gap: 12px; }
  .gallery-card:has(> .mg-am-bar) > a, .gallery-card:has(> .mg-am-bar) > a > .gallery-card-meta, .gallery-card > .mg-am-bar { display: contents; }
  .gallery-card:has(> .mg-am-bar) .gallery-thumb { grid-column: 1 / -1; grid-row: 1; margin-bottom: 26px; }
  .gallery-card:has(> .mg-am-bar) .gallery-card-title { grid-column: 1 / -1; grid-row: 2; align-self: start; margin-bottom: 10px; }
  .gallery-card:has(> .mg-am-bar) .gallery-card-date { grid-column: 1; grid-row: 3; align-self: center; min-width: 0; }
  .gallery-card > .mg-am-bar .mg-am-switch-form { grid-column: 2; grid-row: 3; align-self: center; display: flex; }
}
.mg-am-drag { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--bg-white); box-shadow: var(--sh-am-handle); color: var(--c-title); cursor: grab; }
.mg-am-drag i { display: inline-flex; width: 16px; height: 16px; }
.mg-am-drag i svg { width: 100%; height: 100%; }
.mg-am-drag:focus-visible, .mg-am-switch:focus-visible { outline: 2px solid var(--c-point); outline-offset: 2px; }
.gallery-card > .mg-am-bar .mg-am-state { position: absolute; top: 16px; right: 14px; z-index: 1; display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 12px; background: var(--bg-white); font: var(--t-label); color: var(--c-sub); }
.gallery-card[data-hidden="1"] .gallery-thumb img { opacity: .45; }
.gallery-card.is-drag { opacity: .4; }
.gallery-grid.is-dragging .gallery-card > a { pointer-events: none; }
/* 1023 이하 = 관리모드 단추 전부 숨김(A-00) — 손님 화면과 같게: 손잡이 · 스위치 · 칩 · 안내 없음 · 숨긴 카드는 안 보임 */
@media (max-width: 1023px) {
  .gallery-card > .mg-am-bar { display: none !important; }
  .gallery-card[data-hidden="1"]:has(> .mg-am-bar) { display: none; }
}
