/* Thermo layouts within the shared treatment page. */
.thermo-treatment .mt-hero h1 { font-size: clamp(35px, 5vw, 66px); }
.thermo-treatment .thermo-hero-photo {
  grid-template-columns: minmax(0, 1fr);
  justify-self: center;
  justify-items: center;
  width: min(100%, 460px);
  gap: 0;
  padding: clamp(12px, 2vw, 22px);
}
.thermo-hero-photo img { display: block; width: 100%; height: auto; }
.thermo-treatment .pdh { max-width: 720px; margin: 0 auto 24px; }
.thermo-treatment .pdh-k { color: var(--mt-navy); font-weight: 800; }
.pdh-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  padding-block: 14px;
  border-bottom: 1px solid var(--mt-line);
}
.pdh-c {
  display: grid;
  place-items: center;
  width: clamp(30px, 4vw, 44px);
  aspect-ratio: 1;
  border-radius: 9px;
  background: #e7effd;
  color: var(--mt-navy);
  font-weight: 800;
}
.pdh-t span { display: block; font-size: .8rem; color: var(--mt-muted); }
.pdh-h { color: var(--mt-navy); font-size: clamp(24px, 3vw, 38px); line-height: 1.2; white-space: nowrap; }
.pdh-h :is(em, small) { font-size: .8rem; font-weight: 700; }
.pdh-h em { margin-right: .35em; }
.thermo-treatment .pdh-warn {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  background: #fff5e8;
  color: #773d0a;
  font-size: .85rem;
  line-height: 1.6;
}
.pdh-warn svg { flex: none; width: 18px; height: 16px; }

.thermo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 22px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.thermo-related .thermo-grid a {
  display: grid;
  height: 100%;
  align-content: start;
  gap: 4px;
  text-decoration: none;
}
.thermo-related .thermo-grid a:hover { background: var(--mt-tint); border-color: var(--mt-navy); }
.thermo-related .thermo-grid small, .thermo-related .thermo-grid span { color: var(--mt-muted); }

#p3 :is(.tv-two, .tv-vs, .tv-tl, .tv-sport, .tv-day, .tv-lims, .tv-care) {
  --n: var(--mt-navy);
  --ink: var(--mt-ink);
  --sub: var(--mt-muted);
  --ln: var(--mt-line);
  --sky: var(--mt-tint);
  --pill: #e7effd;
}
#p3 :is(.tv-goal, .tv-goal.warn, .tv-card, .tv-card.l, .tv-ph, .tv-day, .tv-adj, .tv-sport, .tv-note) {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--mt-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}
#p3 .tv-note { display: block; max-width: none; padding: 16px 20px; background: var(--mt-tint); }
#p3 .tv-note > span { display: inline-grid; margin-right: .45em; vertical-align: middle; }
#p3 :is(.tv-sport, .tv-adj, .tv-ph.keep) { background: var(--mt-tint); }
#p3 .tv-call { padding: clamp(18px, 3vw, 32px); border-radius: 18px; }
#p3 :is(.tv-vs-t, .tv-vs-s) { text-align: left; }
#p3 .tv-vs-s { margin-bottom: 24px; }
#p3 .tv-dev { grid-template-columns: auto minmax(0, 1fr); border: 1px solid var(--mt-line); }
#p3 .tv-ico.ph { width: clamp(48px, 7vw, 88px); }
#p3 .tv-tag { grid-column: 2; justify-self: start; white-space: normal; }
#p3 .tv-day-lb small { display: block; margin-top: 3px; color: var(--mt-navy); font-size: .8rem; }
#p3 .tv-day-row.t small::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 9px;
  margin-right: 5px;
  border: 2px solid #a87300;
  border-radius: 3px;
  background: #f2a900;
}
#p3 .tv-day-row.t small:last-child::before { border-style: dashed; background: #fff8e6; }
#p3 .tv-day-tr { height: 30px; }
#p3 .tv-day figcaption { border-top: 1px solid var(--mt-line); padding-top: 10px; }
#p3 .tv-dev b em { display: inline-block; margin-left: 0; }
#p3 .tv-price { flex-wrap: wrap; }

.thermo-treatment .seo-byline { padding-block: 16px 28px; }

@media (min-width: 1200px) {
  .thermo-treatment .seo-byline { width: var(--mt-content-width); }
}
@media (max-width: 760px) {
  .thermo-treatment .pc { display: none; }
}
@media (max-width: 420px) {
  .thermo-grid { grid-template-columns: minmax(0, 1fr); }
}

#p3 .thermo-purpose-chart {
  --chart-color: #08795f;
  display: grid;
  gap: 8px;
  margin: 12px 0 16px;
  padding: clamp(12px, 1.8vw, 20px);
  border-radius: 12px;
  background: var(--mt-tint);
}
#p3 .th-chart-prevention { --chart-color: #9a4d12; }
.thermo-purpose-chart figcaption { font-weight: 600; }
.thermo-purpose-chart figcaption strong { color: var(--chart-color); }
.thermo-purpose-chart svg { display: block; width: 100%; height: auto; }
.thermo-purpose-chart svg text { fill: var(--mt-muted); font: 500 12px 'Noto Sans KR', sans-serif; }
.thermo-purpose-chart svg .th-chart-label { fill: var(--chart-color); font-size: 15px; font-weight: 800; }
.thermo-purpose-chart svg path { fill: none; stroke-linecap: round; }
.th-chart-axis { stroke: #bdc9db; stroke-width: 1.5; }
.th-chart-line { stroke: var(--chart-color); stroke-width: 4; }
.th-chart-projection { stroke: #8293a9; stroke-width: 2; stroke-dasharray: 4 5; }

.thermo-flow-focus {
  background: #fce6e5;
  border: 2px solid #b44149;
  color: #9d2633;
}
.thermo-flow-focus small { color: inherit; }

#p3 .thermo-caution,
#p3 .thermo-adjustment {
  grid-template-columns: minmax(0, 1fr);
  margin-inline: 0;
}
#p3 .thermo-adjustment {
  margin-top: 0;
  max-width: 760px;
}
#p3 .thermo-adjustment .tv-cycle { max-width: 540px; margin-bottom: 22px; }
#p3 .thermo-adjustment .tv-price b { font-size: 1.25rem; }
#p3 .thermo-caution ul {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

#p3-cost .mt-fees { min-width: 0; }
#p3-cost .mt-fees + .mt-fees { margin-top: 24px; }
#p3-cost .mt-fees tbody th { width: auto; color: var(--mt-ink); }
#p3-cost .mt-fees tbody td { width: 1%; vertical-align: middle; }
#p3-cost .mt-fees thead th { background: var(--mt-tint); }
#p3-cost .mt-fees tbody tr:last-child > * { border-bottom: 1px solid var(--mt-line); }

#purpose .thermo-purpose-maintain { color: #08795f; }
#purpose .thermo-purpose-prevent { color: #9a4d12; }

#tl .tv-facts .thermo-limit-rule { align-items: start; }
.thermo-limit-note {
  display: block;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff5e8;
  color: #80420f;
  font-size: .875rem;
}

#tl :is(.tv-sport, .thermo-caution) { max-width: none; margin-inline: 0; }

.thermo-benefit-title { display: inline-flex; align-items: center; gap: 6px; }
.thermo-benefit-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mt-navy);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

.thermo-fabrication { padding-block: clamp(32px, 5vw, 64px); }
.thermo-fabrication .mt-section-head { margin-bottom: 0; }

.thermo-fabrication .thermo-fabrication-timeline { max-width: 760px; margin-top: 24px; }
.thermo-fabrication-timeline figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 12px;
  color: var(--mt-ink);
}
.thermo-fabrication-timeline figcaption span { color: var(--mt-muted); font-size: .9rem; }
.thermo-calendar-days,
.thermo-calendar-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(3px, 1vw, 8px);
  text-align: center;
}
.thermo-calendar-days { padding-bottom: 8px; border-bottom: 1px solid var(--mt-line); color: var(--mt-muted); font-size: .85rem; }
.thermo-calendar-week { margin-top: 12px; }
.thermo-calendar-week > strong { display: block; margin-bottom: 6px; font-size: .925rem; }
.thermo-calendar-week small { margin-left: .4em; color: var(--mt-muted); font-weight: 500; }
.thermo-calendar-row > * {
  display: grid;
  place-items: center;
  min-height: clamp(31px, 5vw, 54px);
  border: 1px solid var(--mt-line);
  border-radius: 8px;
  background: var(--mt-tint);
  font-size: clamp(.75rem, 1.6vw, 1rem);
}
.thermo-calendar-row .thermo-calendar-scan { background: #e1ebff; color: var(--mt-navy); }
.thermo-calendar-row .thermo-calendar-pickup { border-color: var(--mt-navy); background: var(--mt-navy); color: #fff; }


.thermo-refitting { margin-top: clamp(16px, 3vw, 28px); background: var(--mt-tint); }
.thermo-refitting strong { color: var(--mt-navy); }

.thermo-refitting p + p { margin-top: 8px; }


#tl .thermo-usage-panel {
  margin-top: clamp(16px, 2.5vw, 26px);
  padding: clamp(18px, 3vw, 32px);
  background: #fff;
}
#tl .thermo-usage-panel > :is(.thermo-refitting, .tv-sport, .thermo-caution) {
  max-width: none;
  margin: 0;
  padding: clamp(17px, 2.5vw, 26px) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
#tl .thermo-usage-panel > :first-child { padding-top: 0; }
#tl .thermo-usage-panel > :last-child { padding-bottom: 0; }
#tl .thermo-usage-panel > * + * { border-top: 1px solid var(--mt-line); }
#tl .thermo-usage-panel .thermo-caution { display: block; }
#tl .thermo-usage-panel :is(.thermo-refitting, .tv-sport, .tv-call) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
@media (min-width: 900px) {
  #tl .thermo-usage-panel :is(.thermo-refitting, .tv-sport, .tv-call) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.35fr);
    gap: clamp(24px, 4vw, 50px);
  }
}
#tl .thermo-usage-panel .tv-call { padding: 0; border: 0; background: transparent; }
#tl :is(.thermo-refitting, .tv-sport, .tv-call) h3 {
  margin: 4px 0 0;
  font: inherit;
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.035em;
}
#tl :is(.thermo-refitting, .tv-sport) p:not(.mt-kicker) {
  color: var(--mt-muted);
  font-size: 1rem;
  line-height: 1.75;
}
#tl .tv-call .mt-kicker { color: #9a4d12; }
#tl :is(.tv-steps, .tv-call ul) { margin-top: 16px; }
#tl .tv-steps li { border-radius: 10px; background: var(--mt-tint); }
#tl .tv-steps li.stop { background: #fff1ec; }
#tl .tv-call ul { grid-template-columns: minmax(0, 1fr); gap: 4px; margin-top: 0; }
#tl .tv-call li { padding: 6px 0; background: transparent; }

.thermo-refitting-visual {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  align-items: center;
  gap: 8px clamp(12px, 2vw, 22px);
  margin: 12px 0;
  padding: 10px 14px;
  border: 1px solid var(--mt-line);
  border-radius: 10px;
  background: var(--mt-tint);
  color: var(--mt-navy);
}
.thermo-refitting-visual svg { width: clamp(36px, 5vw, 52px); height: auto; }
.thermo-refitting-visual span { display: grid; }
.thermo-refitting-visual small { color: var(--mt-muted); font-size: .75rem; }
.thermo-refitting-visual strong { font-size: clamp(16px, 2vw, 20px); white-space: nowrap; }
