/* 제품 찾기 (브랜드 · 측정 항목) – 공통 디자인 */
html body .tmf { --f-top: 92px; background: #fff; font-family: var(--tm2-ko); color: var(--tm2-ink); }
html body .tmf-wrap { width: auto; max-width: var(--tm2-w); margin: 0 auto; padding: 0 var(--tm2-pad); box-sizing: border-box; }

/* 상단 */
html body .tmf .tm2f-hero { position: relative; margin: 0; padding: 0; border: 0; border-radius: 0 0 0 120px; background: var(--tm2-bg) !important; color: var(--tm2-ink); overflow: visible; }
html body .tmf .tm2f-hero::before, html body .tmf .tm2f-hero::after { display: none !important; content: none !important; }
.tm2f-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; padding-top: 72px; padding-bottom: 72px; }
.tm2f-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--tm2-mute); }
.tm2f-crumb a { color: var(--tm2-mute) !important; text-decoration: none !important; }
.tm2f-crumb b { color: var(--tm2-ink); font-weight: 700; }
.tm2f-brand { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.tm2f-brand img { height: 32px; width: auto; max-width: 180px; object-fit: contain; mix-blend-mode: multiply; }
.tm2f-brand span { font-size: 14px; font-weight: 700; color: var(--tm2-mute); }
.tm2f-en { margin: 26px 0 0; font-family: var(--tm2-en); font-size: 76px; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; color: var(--tm2-ink); }
.tm2f-brand + .tm2f-en { margin-top: 22px; }
.tm2f-en em { font-style: normal; color: var(--tm2-g1); }
html body .tmf .tm2f-hero h1 { margin: 18px 0 0; color: var(--tm2-ink); font-size: 22px; font-weight: 700; letter-spacing: -.04em; line-height: 1.4; }
.tm2f-desc { max-width: 560px; margin: 10px 0 0; font-size: 16px; line-height: 1.75; color: #4B5157; word-break: keep-all; }
html body .tmf .tm2f-search { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; max-width: none; height: 68px; margin: 0; padding: 0 8px 0 28px; border: 0; border-radius: 999px; background: #fff; box-shadow: none; }
html body .tmf .tm2f-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--tm2-ink); font: inherit; font-size: 17px; font-weight: 600; }
html body .tmf .tm2f-search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
html body .tmf .tm2f-search button { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--tm2-g1); color: #fff; cursor: pointer; }
html body .tmf .tm2f-search button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
html body .tmf .tm2f-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; justify-content: flex-start; }
html body .tmf .tm2f-tags span { margin-right: 4px; font-size: 13.5px; font-weight: 700; color: var(--tm2-mute); }
html body .tmf .tm2f-tags a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: var(--tm2-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
html body .tmf .tm2f-tags a:hover { background: var(--tm2-ink); color: #fff; }
.tm2f-hero .tm-subvisual-builder-open { position: absolute; right: var(--tm2-pad); top: 24px; }

/* 서브메뉴 (브랜드 · 측정 항목 이동) */
.tm2f-switch { margin-top: 8px; }
.tm2f-switch__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #DADFDC; }
.tm2f-switch__bar ul { display: flex; flex-wrap: wrap; gap: 0 36px; margin: 0; padding: 0; list-style: none; }
.tm2f-switch__bar li { margin: 0; }
.tm2f-switch__bar a { position: relative; display: inline-flex; align-items: center; height: 68px; color: var(--tm2-mute) !important; font-size: 17px; font-weight: 600; letter-spacing: -.03em; text-decoration: none !important; white-space: nowrap; }
.tm2f-switch__bar a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--tm2-g1); transform: scaleX(0); transition: transform .2s ease; }
.tm2f-switch__bar a:hover { color: var(--tm2-ink) !important; }
.tm2f-switch__bar a.is-active { color: var(--tm2-ink) !important; font-weight: 800; }
.tm2f-switch__bar a.is-active::after { transform: scaleX(1); }
.tm2f-switch__more { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px; border: 1px solid var(--tm2-line2); border-radius: 999px; background: #fff; color: var(--tm2-ink); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.tm2f-switch__more i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--tm2-g1); }
.tm2f-switch__more i::before, .tm2f-switch__more i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: #fff; transition: transform .2s ease; }
.tm2f-switch__more i::after { transform: rotate(90deg); }
.tm2f-switch__more[aria-expanded="true"] i::after { transform: rotate(0deg); }
.tm2f-switch__panel { display: grid; gap: 12px; padding: 22px 0 6px; }
.tm2f-switch__panel[hidden] { display: none; }
.tm2f-switch__row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: center; }
.tm2f-switch__row > span { font-size: 13.5px; font-weight: 800; color: var(--tm2-g1); }


html body .tmf .tm2f-tags a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--tm2-ink) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; white-space: nowrap; flex: none; }
html body .tmf .tm2f-tags a:hover { background: var(--tm2-ink); color: #fff !important; }
html body .tmf .tm2f-tags span { flex: none; width: auto; white-space: nowrap; }
.tm2f-hero__grid > * { min-width: 0; }
.tm2f-desc { white-space: normal; overflow-wrap: anywhere; }
.tm2f [hidden] { display: none !important; }

/* 본문 */
.tm2f-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 56px; padding-bottom: 40px; }
.tm2f-side { position: sticky; top: 112px; }
.tm2f-side__box { display: block; max-height: calc(100vh - 140px); overflow-y: auto; padding: 22px 14px; border-radius: var(--tm2-r); background: var(--tm2-bg); scrollbar-width: none; }
.tm2f-side__box::-webkit-scrollbar { display: none; }
.tm2f-side__group > p { margin: 18px 18px 6px; font-size: 13px; font-weight: 800; color: var(--tm2-mute); }
.tm2f-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 0 16px 0 18px; border-radius: 999px; color: var(--tm2-ink) !important; font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none !important; }
.tm2f-nav span { min-width: 0; }
.tm2f-nav small { flex: none; font-family: var(--tm2-en); font-size: 13px; font-weight: 600; color: var(--tm2-mute); }
.tm2f-nav svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--tm2-mute); }
.tm2f-nav:hover { background: #fff; }
.tm2f-nav.is-on { background: var(--tm2-ink); color: #fff !important; font-weight: 700; }
.tm2f-nav.is-on small { color: rgba(255, 255, 255, .7); }
.tm2f-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.tm2f-head h2 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.05em; line-height: 1.25; color: var(--tm2-ink); }
.tm2f-count { margin: 6px 0 0; font-size: 14px; color: var(--tm2-mute); }
.tm2f-count b { font-family: var(--tm2-en); font-weight: 600; color: var(--tm2-g1); }
.tm2f-filter { flex: 0 0 300px; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: 999px; background: var(--tm2-bg); }
.tm2f-filter svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--tm2-mute); stroke-width: 2; stroke-linecap: round; }
.tm2f-filter input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14.5px; color: var(--tm2-ink); }
.tm2f-filter input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* 카드 */
html body .tm2f .tm2f-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; }
html body .tm2f .tmf-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; }
html body .tm2f .tmf-card:hover { border: 0; box-shadow: none; transform: none; }
html body .tm2f .tmf-card__link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
html body .tm2f .tmf-card__thumb { position: relative; display: block; aspect-ratio: auto; height: 260px; border-radius: var(--tm2-r); background: var(--tm2-bg); overflow: hidden; }
html body .tm2f .tmf-card__thumb img { position: absolute; top: 30px; left: 30px; width: calc(100% - 60px) !important; height: calc(100% - 60px) !important; max-width: none; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
html body .tm2f .tmf-card:hover .tmf-card__thumb img { transform: scale(1.03); }
html body .tm2f .tmf-card__body { display: block; padding: 18px 6px 0; }
html body .tm2f .tmf-card__body em { display: block; margin: 0 0 2px; overflow: hidden; color: var(--tm2-g1); font-family: var(--tm2-en); font-size: 13.5px; font-style: normal; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
html body .tm2f .tmf-card__body strong { display: block; min-height: 0; color: var(--tm2-ink); font-size: 21px; font-weight: 800; letter-spacing: -.035em; line-height: 1.3; overflow-wrap: anywhere; -webkit-line-clamp: unset; }
html body .tm2f .tm2f-card__name { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--tm2-mute); }
html body .tm2f .tmf-card:hover .tmf-card__body strong { color: var(--tm2-g1); }
html body .tm2f .tmf-card__foot { display: flex; padding: 14px 6px 0; }
html body .tm2f .tmf-card__go { display: inline-flex; align-items: center; gap: 8px; color: var(--tm2-text); font-size: 14.5px; font-weight: 700; text-decoration: none; }
html body .tm2f .tmf-card__quote { display: none; }
html body .tm2f .tmf-card__admin:not(:has(*)) { display: none; }
.tm2f-more { display: flex; justify-content: center; margin-top: 56px; }
.tm2f-more .tm2-mv { cursor: pointer; font: inherit; font-size: 14.5px; font-weight: 600; }
.tm2f-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 64px 24px; border-radius: var(--tm2-r); background: var(--tm2-bg); text-align: center; }
.tm2f-empty b { font-size: 19px; font-weight: 800; }
.tm2f-empty span { font-size: 15px; color: var(--tm2-mute); }
.tm2f-empty div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.tm2f-empty .tm2-mv { cursor: pointer; font: inherit; font-size: 14.5px; font-weight: 600; }
.tm2f-help { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 64px; padding: 28px 28px 28px 40px; border-radius: 999px; background: var(--tm2-ink); color: #fff; }
.tm2f-help b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.tm2f-help span { display: block; margin-top: 4px; font-size: 14.5px; color: #B8BEBA; }
.tm2f-help a { flex: none; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 7px 0 24px; border-radius: 999px; background: #fff; color: var(--tm2-ink) !important; font-size: 15px; font-weight: 800; text-decoration: none !important; }
.tm2f-help a i { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tm2-g1); color: #fff; }
.tm2f-help a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm2f .tm-admin-builder { margin-bottom: 32px; }

@media (max-width: 1240px) { html body .tm2f .tm2f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tm2f-filter { flex-basis: 240px; } }

/* 태블릿 · 모바일 */
@media (max-width: 1023px) {
    html body .tmf .tm2f-hero { border-radius: 0 0 0 56px; }
    .tm2f-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 40px; }
    .tm2f-brand { margin-top: 22px; }
    .tm2f-brand img { height: 24px; }
    .tm2f-en { margin-top: 16px; font-size: 42px; line-height: 1.05; }
    .tm2f-brand + .tm2f-en { margin-top: 16px; }
    html body .tmf .tm2f-hero h1 { margin-top: 12px; font-size: 18px; }
    .tm2f-desc { margin-top: 8px; font-size: 14.5px; line-height: 1.7; }
    html body .tmf .tm2f-search { height: 56px; padding: 0 6px 0 22px; }
    html body .tmf .tm2f-search input { font-size: 16px; }
    html body .tmf .tm2f-search button { width: 44px; height: 44px; }
    html body .tmf .tm2f-tags { flex-wrap: nowrap; margin: 14px calc(var(--tm2-pad) * -1) 0; padding: 0 var(--tm2-pad); overflow-x: auto; scrollbar-width: none; }
    html body .tmf .tm2f-tags::-webkit-scrollbar { display: none; }
    html body .tmf .tm2f-tags span { display: none; }
    html body .tmf .tm2f-tags a { height: 36px; padding: 0 14px; font-size: 13.5px; }
    .tm2f-hero .tm-subvisual-builder-open { top: 12px; }
    .tm2f-switch__bar { display: block; border-bottom: 0; }
    .tm2f-switch__bar ul { flex-wrap: nowrap; gap: 0 24px; margin: 0 calc(var(--tm2-pad) * -1); padding: 0 var(--tm2-pad); overflow-x: auto; border-bottom: 1px solid #DADFDC; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .tm2f-switch__bar ul::-webkit-scrollbar { display: none; }
    .tm2f-switch__bar a { height: 52px; font-size: 15px; }
    .tm2f-switch__more { margin-top: 12px; height: 40px; padding: 0 6px 0 16px; font-size: 13.5px; }
    .tm2f-switch__more i { width: 26px; height: 26px; }
    .tm2f-switch__panel { padding-top: 14px; gap: 14px; }
    .tm2f-switch__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .tm2f-switch__row .tm2-pill { height: 36px; padding: 0 14px; font-size: 13.5px; }

    .tm2f-body { display: block; padding-top: 0; padding-bottom: 24px; }
    .tm2f-side { position: sticky; top: 68px; z-index: 6; margin: 0 calc(var(--tm2-pad) * -1); padding: 10px var(--tm2-pad); border-bottom: 1px solid var(--tm2-line); background: rgba(255, 255, 255, .97); }
    .tm2f-side__box { display: flex; gap: 6px; max-height: none; padding: 0; border-radius: 0; background: none; overflow-x: auto; overflow-y: hidden; }
    .tm2f-side__group { display: contents; }
    .tm2f-side__group > p { display: none; }
    .tm2f-nav { flex: none; min-height: 36px; height: 36px; padding: 0 14px; background: var(--tm2-bg); font-size: 13.5px; white-space: nowrap; }
    .tm2f-nav small { margin-left: 2px; font-size: 12px; }
    .tm2f-head { display: block; margin: 26px 0 20px; }
    .tm2f-head h2 { font-size: 24px; }
    .tm2f-filter { margin-top: 14px; height: 46px; }
    html body .tm2f .tm2f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; }
    html body .tm2f .tmf-card__thumb { height: auto; aspect-ratio: 1 / 1; border-radius: 20px; }
    html body .tm2f .tmf-card__thumb img { top: 14%; left: 14%; width: 72% !important; height: 72% !important; }
    html body .tm2f .tmf-card__body { padding: 12px 4px 0; }
    html body .tm2f .tmf-card__body em { font-size: 12px; }
    html body .tm2f .tmf-card__body strong { font-size: 15.5px; line-height: 1.35; }
    html body .tm2f .tm2f-card__name { font-size: 12.5px; }
    html body .tm2f .tmf-card__foot { display: none; }
    .tm2f-more { margin-top: 36px; }
    .tm2f-help { display: block; margin-top: 40px; padding: 24px; border-radius: 26px; }
    .tm2f-help b { font-size: 17px; }
    .tm2f-help a { margin-top: 16px; }
}
/* 분야 전환: 두 그룹을 항상 보이는 토글로 */
.tm2f-switch [hidden] { display: none !important; }
.tm2f-seg { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 4px; border-radius: 999px; background: var(--tm2-bg); }
.tm2f-seg button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--tm2-mute); font: inherit; font-size: 15px; font-weight: 700; letter-spacing: -.03em; cursor: pointer; transition: background .2s, color .2s; }
.tm2f-seg button em { font-family: var(--tm2-en); font-size: 13px; font-style: normal; font-weight: 600; color: #A3A8AE; }
.tm2f-seg button:hover { color: var(--tm2-ink); }
.tm2f-seg button[aria-selected="true"] { background: var(--tm2-ink); color: #fff; }
.tm2f-seg button[aria-selected="true"] em { color: rgba(255,255,255,.55); }
@media (max-width: 1023px) {
    .tm2f-seg { display: flex; margin-bottom: 6px; }
    .tm2f-seg button { flex: 1 1 0; justify-content: center; height: 40px; padding: 0 10px; font-size: 13.5px; }
    .tm2f-switch.has-groups .tm2f-switch__bar ul { border-bottom: 1px solid #DADFDC; }
}
/* 검색창 포커스 시 사각 테두리 제거 */
html body .tmf .tm2f-search input, html body .tmf .tm2f-search input:focus, html body .tmf .tm2f-search input:focus-visible,
html body .tm2f-filter input, html body .tm2f-filter input:focus, html body .tm2f-filter input:focus-visible { outline: 0 !important; border: 0 !important; box-shadow: none !important; -webkit-appearance: none; appearance: none; background: transparent !important; }
html body .tmf .tm2f-search:focus-within { box-shadow: none; }
/* 상세 보기 + : 마우스 올려도 아이콘이 밀리지 않게 */
html body .tm2f .tmf-card:hover .tmf-card__go svg, html body .tm2f .tmf-card__go svg { transform: none !important; }
html body .tm2f .tmf-card__go .tm2-plus { transition: transform .2s ease; }
html body .tm2f .tmf-card:hover .tmf-card__go .tm2-plus { transform: rotate(90deg); }
/* 상단 검색 결과 목록 */
html body .tmf .tm2f-search { z-index: 30; }
.tm2f-sug { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 40; max-height: min(560px, 70vh); overflow-y: auto; padding: 12px; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(20, 22, 26, .14); text-align: left; }
.tm2f-sug[hidden] { display: none; }
html body .tmf .tm2f-search .tm2f-sug__local { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0 0 8px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--tm2-bg); color: var(--tm2-ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.tm2f-sug__local b { color: var(--tm2-g1); }
.tm2f-sug__h { margin: 6px 8px 8px; font-size: 13px; font-weight: 700; color: var(--tm2-mute); }
.tm2f-sug__h b { color: var(--tm2-ink); }
.tm2f-sug__msg { margin: 0; padding: 18px 12px; font-size: 14.5px; color: var(--tm2-mute); }
.tm2f-sug__list { display: grid; gap: 2px; }
.tm2f-sug__item { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 14px; color: var(--tm2-ink) !important; text-decoration: none !important; }
.tm2f-sug__item:hover { background: var(--tm2-bg); }
.tm2f-sug__img { flex: none; width: 56px; height: 56px; border-radius: 12px; background: var(--tm2-bg); overflow: hidden; }
.tm2f-sug__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; box-sizing: border-box; }
.tm2f-sug__txt { display: flex; flex-direction: column; min-width: 0; }
.tm2f-sug__txt em { font-family: var(--tm2-en); font-size: 12px; font-style: normal; font-weight: 600; color: var(--tm2-g1); }
.tm2f-sug__txt b { font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm2f-sug__txt small { font-size: 13px; color: var(--tm2-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .tmf .tm2f-search .tm2f-sug__all { width: 100%; margin-top: 8px; padding: 14px; border: 0; border-top: 1px solid #E3E7E4; background: none; color: var(--tm2-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
html body .tmf .tm2f-search .tm2f-sug__local, html body .tmf .tm2f-search .tm2f-sug__all { height: auto; border-radius: 16px; }
html body .tmf .tm2f-search .tm2f-sug__all { background: none; border-radius: 0; }
html body .tmf .tm2f-search .tm2f-sug__local .tm2-plus { width: 26px; height: 26px; }
html body .tmf .tm2f-search .tm2f-sug__local .tm2-plus svg { width: 11px; height: 11px; stroke-width: 2.6; }
