@charset "utf-8";
/* Mecmesin OmniTest 제품 페이지 (product-page.css 위에 추가) */
.tm-om { --om-navy: #0B1B33; --om-blue: #0E6FB8; --om-cyan: #38BDF8; }
.tm-om sup { font-size: .55em; vertical-align: super; line-height: 0; }

/* HERO */
.tm-om-badge { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 6px 14px 6px 6px; border-radius: 999px; background: #EAF4FC; border: 1px solid #BFDDF4; color: var(--om-navy); font-size: 14px; font-weight: 800; }
.tm-om-badge span { padding: 4px 10px; border-radius: 999px; background: var(--om-navy); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.tm-om-hero__visual { position: relative; }
.tm-om-hero__main { position: relative; z-index: 1; }
.tm-om-hero__sub { position: absolute; z-index: 2; right: 0; bottom: 0; width: auto !important; max-height: 62% !important; filter: drop-shadow(0 24px 30px rgba(15,23,42,.2)) !important; }

/* CFR */
.tm-om-cfr { padding: clamp(64px, 8vw, 110px) 0; background: radial-gradient(circle at 85% 10%, rgba(56,189,248,.18) 0%, rgba(56,189,248,0) 40%), linear-gradient(180deg, #0B1B33 0%, #0A1628 100%); color: #fff; scroll-margin-top: 110px; }
.tm-om-cfr__head { max-width: 860px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.tm-om-cfr__head p { margin: 0 0 12px; color: var(--om-cyan); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.tm-om-cfr__head h2 { margin: 0; font-size: clamp(28px, 3.2vw, 44px); font-weight: 900; line-height: 1.25; letter-spacing: -.045em; }
.tm-om-cfr__head h2 em { font-style: normal; color: var(--om-cyan); }
.tm-om-cfr__head > span { display: block; margin-top: 16px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.75; }
.tm-om-cfr__head b { color: #fff; }
.tm-om-cfr__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tm-om-cfr__grid > .tm-om-cfr__card { grid-column: span 2; }
.tm-om-cfr__grid > .tm-om-cfr__card:nth-last-child(-n+2) { grid-column: span 3; }
.tm-om-cfr__card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.tm-om-cfr__card h3 { margin: 4px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.tm-om-cfr__card p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.7; }
.tm-om-cfr__card ul { margin: 0; padding: 0; list-style: none; }
.tm-om-cfr__card li { position: relative; padding-left: 16px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.9; }
.tm-om-cfr__card li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--om-cyan); }
.tm-om-cfr__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: rgba(56,189,248,.14); color: var(--om-cyan); }
.tm-om-cfr__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tm-om-cfr__grid > .tm-om-cfr__card--wide { grid-column: 1 / -1; }
.tm-om-cfr__card--wide { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 22px; background: rgba(56,189,248,.08); border-color: rgba(56,189,248,.3); }
.tm-om-cfr__card--wide h3 { font-size: 22px; }
.tm-om-cfr__card--wide p { margin-top: 8px; }
.tm-om-log { margin: 0; padding: 14px; border-radius: 14px; background: #06101F; border: 1px solid rgba(255,255,255,.1); list-style: none; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.tm-om-log li::before { display: none; }
.tm-om-log li { display: grid; grid-template-columns: 72px 70px 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-bottom: 1px dashed rgba(255,255,255,.1); color: rgba(255,255,255,.75); }
.tm-om-log li:last-child { border-bottom: 0; }
.tm-om-log time { color: rgba(255,255,255,.45); }
.tm-om-log b { color: var(--om-cyan); font-weight: 700; }
.tm-om-log em { padding: 2px 8px; border-radius: 999px; background: rgba(56,189,248,.18); color: #BAE6FD; font-family: var(--tm-font, 'Pretendard', sans-serif); font-size: 11px; font-style: normal; font-weight: 800; }
.tm-om-val { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 28px; margin-top: 16px; padding: 26px 28px; border-radius: 18px; background: #fff; color: var(--om-navy); }
.tm-om-val__copy { display: flex; gap: 18px; align-items: flex-start; }
.tm-om-val .tm-om-cfr__icon { background: #EAF4FC; color: var(--om-blue); }
.tm-om-val h3 { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -.03em; }
.tm-om-val p { margin: 8px 0 0; color: #475569; font-size: 15px; line-height: 1.7; }
.tm-om-val__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tm-om-val__steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 8px; border-radius: 14px; background: #F1F7FD; border: 1px solid #D6E8F7; }
.tm-om-val__steps li + li::before { content: "→"; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); color: #94A3B8; font-weight: 800; }
.tm-om-val__steps b { color: var(--om-blue); font-size: 22px; font-weight: 900; }
.tm-om-val__steps span { color: #475569; font-size: 12px; font-weight: 700; }

/* 제약 적용 */
.tm-om-pharma { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tm-om-pharma li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--pp-line); text-align: center; }
.tm-om-pharma .tm-pp-icon { width: 56px; height: 56px; margin-bottom: 6px; border-radius: 16px; background: #EAF4FC; color: var(--om-blue); }
.tm-om-pharma strong { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.tm-om-pharma em { color: var(--pp-muted); font-size: 13px; font-style: normal; line-height: 1.5; }

/* 특장점 미디어 */
.tm-om-lineup-media img, .tm-om-els img { height: 240px !important; padding: 14px; }
.tm-om-els img { height: 150px !important; }
.tm-om-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tm-om-steps figure { margin: 0; overflow: hidden; border-radius: 12px; border: 1px solid var(--pp-line); background: #0B1B33; }
.tm-om-steps img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tm-om-steps figcaption { padding: 8px 10px; background: #fff; color: var(--pp-ink); font-size: 12px; font-weight: 700; }
.tm-om-steps figcaption b { margin-right: 6px; color: var(--om-blue); }
.tm-om-acc { max-width: 1080px; margin: 24px auto 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--pp-line); background: #fff; }
.tm-om-acc img { display: block; width: 100%; max-height: 420px; object-fit: contain; }

/* 스펙 표 */
.tm-om-spec { max-width: none; }
.tm-om-spec .tm-pp-table--variants { min-width: 1100px; }
.tm-om-spec thead th { text-align: center; vertical-align: bottom; }
.tm-om-spec thead th:first-child { text-align: left; }
.tm-om-spec thead img { display: block; height: 70px; width: auto; margin: 0 auto 8px; filter: brightness(1.15); }
.tm-om-spec td { text-align: center; white-space: nowrap; }
.tm-om-spec td.is-span { white-space: normal; }
.tm-om-spec tbody th { width: 170px; }
.tm-om-note { max-width: 1080px; margin: 14px auto 0; color: var(--pp-muted); font-size: 13px; line-height: 1.6; }

@media (max-width: 1100px) {
    .tm-om-cfr__grid { grid-template-columns: 1fr 1fr; }
    .tm-om-cfr__grid > .tm-om-cfr__card, .tm-om-cfr__grid > .tm-om-cfr__card:nth-last-child(-n+2) { grid-column: auto; }
    .tm-om-cfr__grid > .tm-om-cfr__card--wide { grid-column: 1 / -1; }
    .tm-om-cfr__card--wide { grid-template-columns: auto 1fr; }
    .tm-om-log { grid-column: 1 / -1; }
    .tm-om-val { grid-template-columns: 1fr; }
    .tm-om-pharma { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tm-om-hero__sub { max-height: 55% !important; }
}
@media (max-width: 640px) {
    .tm-om-badge { font-size: 12px; }
    .tm-om-cfr__grid { grid-template-columns: 1fr; }
    .tm-om-log li { padding-left: 6px; }
    .tm-om-cfr__card { padding: 20px; }
    .tm-om-cfr__card--wide { grid-template-columns: 1fr; }
    .tm-om-log li { grid-template-columns: 64px 1fr auto; font-size: 12px; }
    .tm-om-log li span { grid-column: 1 / -1; grid-row: 2; }
    .tm-om-val { padding: 20px; }
    .tm-om-val__copy { flex-direction: column; }
    .tm-om-pharma { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tm-om-pharma li { padding: 18px 10px; }
    .tm-om-steps { grid-template-columns: 1fr 1fr; }
    .tm-om-lineup-media img { height: 170px !important; }
}
@media print {
    .tm-om-cfr { padding: 4mm 0; background: none; color: #0F172A; break-inside: avoid; }
    .tm-om-cfr__head > span, .tm-om-cfr__card p, .tm-om-cfr__card li { color: #334155; }
    .tm-om-cfr__head h2 em, .tm-om-cfr__head p { color: #0E6FB8; }
    .tm-om-cfr__card { border-color: #CBD5E1; background: none; padding: 3mm; }
    .tm-om-log, .tm-om-hero__sub { display: none !important; }
    .tm-om-cfr__card--wide { grid-template-columns: auto 1fr; }
    .tm-om-spec thead img { display: none; }
    .tm-om-spec .tm-pp-table--variants { min-width: 0; font-size: 7.5pt; }
    .tm-om-spec td { white-space: normal; }
}
.tm-om-spec .tm-pp-table--variants thead th { background: #F1F5F9; color: var(--pp-ink); border-bottom: 2px solid var(--pp-ink); }
.tm-om-spec thead img { filter: none; height: 80px; }
