/* Infrared Heat – email quote form */
#ihq-root:not(.ihf) { visibility: hidden; min-height: 420px; } /* hide the old tool until it's replaced */
.ihf { --o: #E75A0B; --o-soft: #fdf1ea; --ink: #2b2b2b; --mut: #6b6b6b; --line: #e3e3e3; max-width: 720px; margin: 0 auto; color: var(--ink); }
.ihf * { box-sizing: border-box; }
.ihf-card-wrap { background: #fff; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.08); padding: 28px; }
.ihf-step { margin: 0 0 6px; font-size: 13px; color: var(--mut); font-weight: 600; letter-spacing: .3px; }
.ihf-bar { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 22px; }
.ihf-bar span { display: block; height: 100%; background: var(--o); transition: width .3s; }
.ihf h2 { font-size: 24px; line-height: 1.25; margin: 0 0 8px; color: var(--ink); }
.ihf-sub { margin: 0 0 16px; color: var(--mut); }
.ihf-body h2 + .ihf-cards { margin-top: 18px; }

.ihf-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ihf-cards.ihf-small { grid-template-columns: repeat(3, 1fr); }
.ihf .ihf-card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  min-height: 120px; padding: 16px 10px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s, transform .1s; }
.ihf .ihf-card:hover { border-color: var(--o); }
.ihf .ihf-card:active { transform: scale(.98); }
.ihf .ihf-card:focus-visible { outline: 3px solid rgba(231,90,11,.35); outline-offset: 2px; }
.ihf .ihf-card.on { border-color: var(--o); background: var(--o-soft); }
.ihf-card .ic { font-size: 34px; line-height: 1; }
.ihf-card .t { font-weight: 700; font-size: 15px; color: var(--ink); }
.ihf-card .d { font-size: 12.5px; color: var(--mut); line-height: 1.35; }
.ihf-two .ihf-card { min-height: 104px; }

.ihf-room { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.ihf-roomtop { display: flex; gap: 8px; margin-bottom: 10px; }
.ihf-roomtop select { flex: 1; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 600; background: #fff; color: var(--ink); }
.ihf .ihf-x { all: unset; cursor: pointer; padding: 0 12px; color: var(--mut); border: 1.5px solid var(--line); border-radius: 10px; display: flex; align-items: center; }
.ihf .ihf-x:hover { color: #c62828; border-color: #c62828; }
.ihf-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ihf .ihf-size { all: unset; box-sizing: border-box; cursor: pointer; padding: 10px 8px; border: 2px solid var(--line); border-radius: 10px; text-align: center; background: #fff; }
.ihf .ihf-size b { display: block; font-size: 14px; color: var(--ink); }
.ihf .ihf-size small { display: block; font-size: 11.5px; color: var(--mut); line-height: 1.3; margin-top: 3px; }
.ihf .ihf-size:hover { border-color: var(--o); }
.ihf .ihf-size.on { border-color: var(--o); background: var(--o-soft); }
.ihf-exact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--mut); cursor: pointer; }
.ihf-exact input[type=checkbox] { accent-color: var(--o); width: 16px; height: 16px; }
.ihf-sqm { display: inline-flex; align-items: center; gap: 6px; }
.ihf-sqm[hidden] { display: none; }
.ihf-sqm input { width: 90px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.ihf .ihf-add { all: unset; cursor: pointer; display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 12px; border: 2px dashed var(--line); border-radius: 12px; font-weight: 600; color: var(--o); }
.ihf .ihf-add:hover { border-color: var(--o); }

.ihf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ihf-row label, .ihf-full { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.ihf-row input, .ihf-full textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
.ihf-row input:focus, .ihf-full textarea:focus, .ihf-sqm input:focus, .ihf-roomtop select:focus { outline: none; border-color: var(--o); box-shadow: 0 0 0 3px rgba(231,90,11,.15); }
.ihf-when { border: 0; padding: 0; margin: 4px 0 12px; }
.ihf-when legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.ihf-when label { display: inline-flex; align-items: center; gap: 6px; margin: 0 8px 8px 0; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer; }
.ihf-when label:has(input:checked) { border-color: var(--o); background: var(--o-soft); }
.ihf-when input { accent-color: var(--o); margin: 0; }
.ihf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--mut); margin: 6px 0 4px; cursor: pointer; }
.ihf-consent input { accent-color: var(--o); width: 18px; height: 18px; flex: none; margin-top: 1px; }
.ihf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ihf-err { color: #c62828; font-size: 14px; min-height: 1.2em; margin: 12px 0 4px; }
.ihf-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.ihf .ihf-next, .ihf .ihf-back { all: unset; box-sizing: border-box; cursor: pointer; font-weight: 700; font-size: 16px; border-radius: 30px; padding: 14px 30px; text-align: center; }
.ihf .ihf-next { background: var(--o); color: #fff; min-width: 180px; }
.ihf .ihf-next:hover { filter: brightness(.93); }
.ihf .ihf-next[disabled] { opacity: .6; cursor: wait; }
.ihf .ihf-back { color: var(--mut); padding-left: 4px; }
.ihf .ihf-back:hover { color: var(--ink); }

.ihf-done { text-align: center; padding: 40px 28px; }
.ihf-tick { width: 70px; height: 70px; line-height: 70px; border-radius: 50%; background: var(--o); color: #fff; font-size: 34px; margin: 0 auto 16px; }
.ihf-done p { color: var(--mut); max-width: 480px; margin: 0 auto 10px; }

@media (max-width: 600px) {
  .ihf-card-wrap { padding: 20px 16px; border-radius: 12px; }
  .ihf h2 { font-size: 20px; }
  .ihf-cards.ihf-small { grid-template-columns: repeat(2, 1fr); }
  .ihf-two { grid-template-columns: 1fr; }
  .ihf-sizes { grid-template-columns: repeat(2, 1fr); }
  .ihf-row { grid-template-columns: 1fr; gap: 0; }
  .ihf .ihf-card { min-height: 100px; }
  .ihf .ihf-next { flex: 1; min-width: 0; }
}
