/* Scoped styles keep Houzez / Elementor typography and field rules outside this component. */
section.hsm {
  --hsm-ink: #000;
  --hsm-blue: #003d60;
  --hsm-tan: #c0a99b;
  --hsm-line: #d9d9d9;
  --hsm-muted: #666;
  width: 100% !important; max-width: min(100%, 1160px) !important; min-width: 0 !important; margin: 0 auto;
  position: relative; container-type: inline-size; container-name: hsm;
  background: #fff; color: var(--hsm-ink);
  font: 400 15px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .1em; text-align: start; font-synthesis: none;
}
section.hsm, section.hsm * {
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 400 !important;
  font-synthesis: none;
}
section.hsm [hidden] { display: none !important; }
section.hsm p, section.hsm h2, section.hsm h3, section.hsm dl, section.hsm dd { margin: 0; }
section.hsm h2, section.hsm h3 { color: #000; text-transform: none; letter-spacing: .1em; line-height: 1.3; }
section.hsm h2 { font-size: clamp(27px, 3.2vw, 40px); }
section.hsm h3 { font-size: 25px; }
section.hsm input, section.hsm select, section.hsm button {
  border-radius: 0 !important; box-shadow: none !important;
  font: inherit; letter-spacing: inherit; text-transform: none;
}
section.hsm input:focus, section.hsm select:focus, section.hsm button:focus { box-shadow: none !important; }
section.hsm .hsm-header { padding: 0 0 34px; }
section.hsm .hsm-eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--hsm-blue); margin: 0 0 16px; }
section.hsm .hsm-intro { font-size: 13px; color: var(--hsm-muted); margin-top: 16px; }
section.hsm .hsm-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-block: 1px solid var(--hsm-line); }
section.hsm .hsm-left { min-width: 0; padding: 36px 44px 36px 0; }
section.hsm[dir=rtl] .hsm-left { padding: 36px 0 36px 44px; }
section.hsm .hsm-summary { min-width: 0; padding: 36px 34px; border-inline-start: 1px solid var(--hsm-line); background: #f8f7f6; }
section.hsm .hsm-control { margin-bottom: 27px; }
section.hsm label, section.hsm legend { color: #000; font-size: 13px; letter-spacing: .1em; }
section.hsm .hsm-money { display: flex; align-items: center; gap: 12px; margin-top: 8px; border-bottom: 1px solid #777; }
section.hsm .hsm-money > span { color: var(--hsm-muted); font-size: 13px; flex-shrink: 0; }
section.hsm .hsm-money input {
  width: 100%; min-width: 0; height: auto; padding: 9px 0;
  background: transparent !important; border: 0 !important; outline: none !important;
  color: #000; font-size: 27px; line-height: 1.4;
}
section.hsm .hsm-money:focus-within { border-color: var(--hsm-blue); }
section.hsm .hsm-money input:focus { color: var(--hsm-blue) !important; }
section.hsm .hsm-deposit small { display: block; margin-top: 8px; color: var(--hsm-muted); font-size: 11px; line-height: 1.7; letter-spacing: .05em; }
section.hsm .hsm-deposit .hsm-money input { font-size: 22px; }
section.hsm .hsm-control-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
section.hsm .hsm-inline { display: flex; align-items: center; gap: 6px; font-size: 12px; flex-shrink: 0; }
section.hsm .hsm-inline input {
  width: 78px; min-width: 0; height: auto; padding: 6px 2px; background: transparent !important;
  border: 0 !important; border-bottom: 1px solid #999 !important; outline: none !important;
  color: #000; font-size: 19px; text-align: center; line-height: 1.4;
  appearance: textfield; -moz-appearance: textfield;
}
section.hsm .hsm-inline input::-webkit-inner-spin-button, section.hsm .hsm-inline input::-webkit-outer-spin-button { appearance: none; margin: 0; }
section.hsm .hsm-inline input:focus { color: var(--hsm-blue) !important; border-bottom-color: var(--hsm-blue) !important; }
section.hsm .hsm-range { --hsm-progress: 0%; height: 30px; position: relative; direction: ltr; }
section.hsm .hsm-range::before, section.hsm .hsm-range-fill { position: absolute; inset-inline-start: 0; top: 13px; height: 4px; pointer-events: none; }
section.hsm .hsm-range::before { content: ''; width: 100%; background: #d9d9d9; }
section.hsm .hsm-range-fill { width: var(--hsm-progress); background: var(--hsm-blue); }
section.hsm input[type=range] {
  display: block; position: relative; width: 100%; height: 30px; padding: 0; margin: 0;
  background: transparent !important; border: 0 !important; outline: none !important;
  appearance: none; -webkit-appearance: none; cursor: pointer; direction: ltr;
}
section.hsm input[type=range]::-webkit-slider-runnable-track { height: 4px; background: transparent; border: 0; }
section.hsm input[type=range]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border: 3px solid #fff; border-radius: 50%; background: var(--hsm-blue); box-shadow: 0 0 0 1px var(--hsm-blue); }
section.hsm input[type=range]::-moz-range-track { height: 4px; background: transparent; border: 0; }
section.hsm input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: var(--hsm-blue); box-shadow: 0 0 0 1px var(--hsm-blue); }
section.hsm input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #c0a99b; }
section.hsm input[type=range]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px #c0a99b; }
section.hsm .hsm-range-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--hsm-muted); margin-top: 3px; letter-spacing: .04em; }
section.hsm .hsm-button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 66px; padding: 19px 24px;
  border: 1px solid var(--hsm-blue) !important; background: var(--hsm-blue) !important; color: #fff !important;
  font-size: 15px; line-height: 1.5; letter-spacing: .1em; cursor: pointer;
  transition: background-color .15s, color .15s;
}
section.hsm .hsm-button:hover, section.hsm .hsm-button:focus-visible { background: #fff !important; color: var(--hsm-blue) !important; border-color: var(--hsm-blue) !important; }
section.hsm .hsm-button:focus-visible { outline: 1px solid var(--hsm-blue); outline-offset: 3px; }
section.hsm .hsm-button:disabled { opacity: .45; cursor: wait; }
section.hsm .hsm-button > span { min-width: 0; overflow-wrap: anywhere; }
section.hsm .hsm-arrow { display: block !important; width: 24px; height: 24px; flex: 0 0 24px; }
section.hsm[dir=rtl] .hsm-arrow { transform: rotate(180deg); }
section.hsm .hsm-payment { padding: 18px 0 26px; border-bottom: 1px solid var(--hsm-line); }
section.hsm .hsm-payment > span { display: block; font-size: 12px; color: var(--hsm-muted); margin-bottom: 14px; }
section.hsm .hsm-payment strong { display: block; font-size: clamp(29px, 3.4vw, 45px); line-height: 1.3; letter-spacing: .04em; overflow-wrap: anywhere; }
section.hsm .hsm-facts { padding: 17px 0; }
section.hsm .hsm-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 12px; padding: 9px 0; }
section.hsm .hsm-facts dt { color: var(--hsm-muted); }
section.hsm .hsm-facts dd { text-align: end; color: #000; overflow-wrap: anywhere; }
section.hsm .hsm-facts small { font-size: 10px; }
section.hsm .hsm-details { border-block: 1px solid var(--hsm-line); }
section.hsm .hsm-details summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 17px 0; font-size: 12px; cursor: pointer; list-style: none; }
section.hsm .hsm-details summary::-webkit-details-marker { display: none; }
section.hsm .hsm-details summary::after { content: '+'; font-size: 19px; line-height: 1; }
section.hsm .hsm-details[open] summary::after { content: '−'; }
section.hsm .hsm-details summary:focus-visible { outline: 1px solid var(--hsm-blue); outline-offset: 3px; }
section.hsm .hsm-details .hsm-facts { padding-top: 0; }
section.hsm .hsm-note { margin-top: 23px; font-size: 11px; line-height: 1.8; color: var(--hsm-muted); letter-spacing: .04em; }
section.hsm .hsm-currency-note { color: var(--hsm-blue); }
section.hsm .hsm-back { display: inline-block; margin: 0 0 20px; padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--hsm-tan); color: var(--hsm-muted); background: transparent !important; font-size: 11px; cursor: pointer; }
section.hsm .hsm-back:hover, section.hsm .hsm-back:focus-visible { color: var(--hsm-blue); outline: none; border-color: var(--hsm-blue); }
section.hsm .hsm-form-intro { margin: 14px 0 25px; font-size: 12px; line-height: 1.8; color: var(--hsm-muted); }
section.hsm .hsm-field { display: block; margin-bottom: 18px; }
section.hsm .hsm-field > span, section.hsm .hsm-field > label { display: block; margin-bottom: 8px; }
section.hsm .hsm-field input {
  display: block; width: 100%; min-width: 0; height: auto; min-height: 50px; padding: 12px;
  background: #fff !important; border: 1px solid var(--hsm-line) !important; outline: none !important;
  color: #000; font-size: 16px; line-height: 1.5;
}
section.hsm .hsm-field input:focus { border-color: var(--hsm-blue) !important; color: var(--hsm-blue) !important; }
section.hsm .hsm-phone { display: flex; direction: ltr; width: 100%; min-width: 0; }
section.hsm .hsm-country { flex: 0 0 116px; position: relative; min-width: 0; border: 1px solid var(--hsm-line); border-inline-end: 0; }
section.hsm .hsm-country-face { display: flex; align-items: center; justify-content: center; gap: 8px; height: 100%; padding: 10px 8px; font-size: 12px; letter-spacing: 0; pointer-events: none; }
section.hsm .hsm-country-face img { display: block; width: 20px; height: 14px; object-fit: cover; flex-shrink: 0; }
section.hsm .hsm-country-face > span { letter-spacing: 0; white-space: nowrap; }
section.hsm .hsm-country-face svg { flex-shrink: 0; }
section.hsm .hsm-country select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; margin: 0; }
section.hsm .hsm-country:focus-within { border-color: var(--hsm-blue); outline: 1px solid var(--hsm-blue); outline-offset: -1px; }
section.hsm .hsm-phone > input { flex: 1; width: 0; }
section.hsm .hsm-income { display: flex; align-items: center; min-width: 0; background: #fff; border: 1px solid var(--hsm-line); }
section.hsm .hsm-income > span { color: var(--hsm-muted); font-size: 12px; padding-inline-start: 12px; }
section.hsm .hsm-income input { border: 0 !important; }
section.hsm .hsm-income:focus-within { border-color: var(--hsm-blue); }
section.hsm .hsm-options { min-width: 0; border: 0; margin: 0 0 20px; padding: 0; }
section.hsm .hsm-options legend { padding: 0; margin-bottom: 10px; }
section.hsm .hsm-choice-row { display: flex; gap: 8px; }
section.hsm .hsm-choice { position: relative; flex: 1; min-width: 0; margin: 0; text-align: center; cursor: pointer; }
section.hsm .hsm-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
section.hsm .hsm-choice > span { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 46px; padding: 10px 6px; background: #fff; border: 1px solid var(--hsm-line); font-size: 12px; line-height: 1.4; letter-spacing: .04em; transition: background-color .15s, color .15s; }
section.hsm .hsm-choice:hover > span, section.hsm .hsm-choice input:checked + span { background: var(--hsm-blue) !important; color: #fff !important; border-color: var(--hsm-blue); }
section.hsm .hsm-choice input:focus-visible + span { outline: 1px solid var(--hsm-blue); outline-offset: 3px; }
section.hsm .hsm-consent { display: block; margin: 24px 0; padding: 0; border: 0; background: transparent; color: var(--hsm-muted); font-size: 11px; line-height: 1.85; letter-spacing: .035em; }
section.hsm .hsm-trap { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; pointer-events: none; }
section.hsm .hsm-form-error, section.hsm .hsm-calculation-error { margin: 0 0 18px; font-size: 12px; line-height: 1.7; letter-spacing: .025em; color: #9b2020; }
section.hsm .hsm-success { padding: 38px 0; }
section.hsm .hsm-success p { margin-top: 20px; color: var(--hsm-muted); font-size: 14px; line-height: 1.9; }
section.hsm .hsm-load { padding: 25px 0; font-size: 12px; }
section.hsm[aria-busy=true] .hsm-grid { opacity: .6; }
@media (max-width: 767px) {
  section.hsm .hsm-header { padding-bottom: 23px; }
  section.hsm h2 { font-size: 25px; }
  section.hsm h3 { font-size: 23px; }
  section.hsm .hsm-intro { font-size: 12px; line-height: 1.8; margin-top: 13px; }
  section.hsm .hsm-grid { display: flex; flex-direction: column; }
  section.hsm .hsm-summary { order: -1; padding: 22px 20px; border-inline-start: 0; border-bottom: 1px solid var(--hsm-line); }
  section.hsm .hsm-summary > .hsm-eyebrow { margin-bottom: 12px; }
  section.hsm .hsm-payment { padding: 0 0 17px; }
  section.hsm .hsm-payment > span { margin-bottom: 9px; font-size: 11px; }
  section.hsm .hsm-payment strong { font-size: clamp(28px, 7.4vw, 36px); }
  section.hsm .hsm-facts { padding: 10px 0; }
  section.hsm .hsm-facts > div { font-size: 11px; padding: 5px 0; }
  section.hsm .hsm-note { font-size: 10px; margin-top: 14px; }
  section.hsm .hsm-details summary { padding: 13px 0; font-size: 11px; }
  section.hsm .hsm-left, section.hsm[dir=rtl] .hsm-left { padding: 26px 0; }
  section.hsm .hsm-money input { font-size: 25px; }
  section.hsm .hsm-deposit .hsm-money input { font-size: 22px; }
  section.hsm .hsm-control { margin-bottom: 25px; }
  section.hsm .hsm-button { min-height: 68px; padding: 18px 19px; font-size: 14px; }
  section.hsm .hsm-field input { font-size: 16px; }
  section.hsm .hsm-choice > span { font-size: 12px; min-height: 46px; padding: 11px 4px; }
  section.hsm .hsm-consent { font-size: 11px; }
  section.hsm .hsm-country { flex-basis: 112px; }
  section.hsm .hsm-form-intro { font-size: 12px; margin-bottom: 22px; }
}
@media (max-width: 359px) {
  section.hsm h2 { font-size: 23px; }
  section.hsm label, section.hsm legend { font-size: 12px; }
  section.hsm .hsm-choice-row { gap: 6px; }
  section.hsm .hsm-choice > span { font-size: 11px; }
  section.hsm .hsm-button { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { section.hsm * { transition: none !important; } }

/* Fit only the Elementor ancestry containing this calculator. No page-wide overflow masking. */
.hsm-fit-host { min-width: 0 !important; max-width: 100% !important; min-inline-size: 0 !important; box-sizing: border-box !important; }
.hsm-fit-widget { width: 100% !important; }
:is(.e-con,.e-con-inner,.elementor-element,.elementor-container,.elementor-column,.elementor-column-wrap,.elementor-widget-wrap,.elementor-widget-container,.elementor-shortcode):has(section.hsm) {
  min-width: 0 !important; max-width: 100% !important; min-inline-size: 0 !important; box-sizing: border-box !important;
}
:is(.elementor-widget-shortcode,.elementor-widget-container,.elementor-shortcode):has(section.hsm) { width: 100% !important; }
section.hsm .hsm-grid, section.hsm .hsm-left, section.hsm .hsm-controls, section.hsm .hsm-form,
section.hsm .hsm-summary, section.hsm .hsm-field, section.hsm .hsm-options {
  min-width: 0 !important; min-inline-size: 0 !important; max-width: 100% !important;
}
section.hsm .hsm-grid { width: 100%; }
section.hsm h2, section.hsm h3, section.hsm p, section.hsm label, section.hsm legend,
section.hsm .hsm-choice > span, section.hsm .hsm-facts dt, section.hsm .hsm-facts dd {
  white-space: normal !important; overflow-wrap: anywhere;
}
section.hsm .hsm-money input, section.hsm .hsm-field input, section.hsm input[type=range] {
  min-width: 0 !important; min-inline-size: 0 !important; max-width: 100% !important;
}
@container hsm (max-width: 767px) {
  section.hsm .hsm-header { padding-bottom: 23px; }
  section.hsm h2 { font-size: 25px; }
  section.hsm h3 { font-size: 23px; }
  section.hsm .hsm-intro { font-size: 12px; line-height: 1.8; margin-top: 13px; }
  section.hsm .hsm-grid { display: flex; flex-direction: column; }
  section.hsm .hsm-summary { order: -1; padding: 22px 20px; border-inline-start: 0; border-bottom: 1px solid var(--hsm-line); }
  section.hsm .hsm-summary > .hsm-eyebrow { margin-bottom: 12px; }
  section.hsm .hsm-payment { padding: 0 0 17px; }
  section.hsm .hsm-payment > span { margin-bottom: 9px; font-size: 11px; }
  section.hsm .hsm-payment strong { font-size: clamp(28px, 7.4vw, 36px); }
  section.hsm .hsm-facts { padding: 10px 0; }
  section.hsm .hsm-facts > div { font-size: 11px; padding: 5px 0; }
  section.hsm .hsm-note { font-size: 10px; margin-top: 14px; }
  section.hsm .hsm-details summary { padding: 13px 0; font-size: 11px; }
  section.hsm .hsm-left, section.hsm[dir=rtl] .hsm-left { padding: 26px 0; }
  section.hsm .hsm-money input { font-size: 25px; }
  section.hsm .hsm-deposit .hsm-money input { font-size: 22px; }
  section.hsm .hsm-control { margin-bottom: 25px; }
  section.hsm .hsm-button { min-height: 68px; padding: 18px 19px; font-size: 14px; }
  section.hsm .hsm-field input { font-size: 16px; }
  section.hsm .hsm-choice > span { font-size: 12px; min-height: 46px; padding: 11px 4px; }
  section.hsm .hsm-consent { font-size: 11px; }
  section.hsm .hsm-country { flex-basis: 112px; }
  section.hsm .hsm-form-intro { font-size: 12px; margin-bottom: 22px; }
}
