#wh-quote-builder {
  --whgqb-max-width: 1200px;
  --whgqb-side-gap: 36px;
  font-family: Inter, Arial, sans-serif;
  color: #111111;
  background: transparent;
  padding: 0;
  width: min(var(--whgqb-max-width), calc(100vw - (var(--whgqb-side-gap) * 2)));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: visible;
  clear: both;
}

#wh-quote-builder * { box-sizing: border-box; }
[data-whgqb]:not([data-ready="1"]) { visibility: hidden; }

.whqb-shell { width: 100%; max-width: 100%; margin: 0; }

.whqb-card {
  background: #ffffff;
  border-radius: 48px;
  padding: 56px;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: visible;
}

.whqb-progress { height: 1px; background: #eeeeee; border-radius: 50px; overflow: hidden; margin-bottom: 42px; width: 100%; }
.whqb-progress-bar { width: 9.09%; height: 100%; background: #111111; border-radius: 50px; transition: width 0.35s ease; }
.whqb-step { display: none; animation: whFade 0.25s ease; width: 100%; min-width: 0; }
.whqb-step.active { display: block; }
@keyframes whFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.whqb-step h3 { font-size: 26px; line-height: 1.18; margin: 0 0 12px; font-weight: 400; letter-spacing: -0.035em; color: #111111; }
.whqb-eyebrow { margin: 0 0 12px; color: #777; font-size: 13px; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; }
.whqb-sub, .whqb-note { font-size: 18px; line-height: 1.55; color: #5B5B5B; margin: 0; font-weight: 400; }
.whqb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 34px; width: 100%; }
#wh-quote-builder label { display: block; font-size: 16px; color: #111111; margin-top: 22px; font-weight: 400; width: 100%; min-width: 0; }
#wh-quote-builder input, #wh-quote-builder select, #wh-quote-builder textarea {
  width: 100%; max-width: 100%; margin-top: 10px; border: 1px solid #dddddd; background: #F3F3F3; border-radius: 6px; padding: 17px 19px; font-size: 17px; color: #111111; outline: none; transition: border-color 0.2s ease; font-family: inherit; font-weight: 400; display: block;
}
#wh-quote-builder input::placeholder, #wh-quote-builder textarea::placeholder { color: #7b7f84; }
#wh-quote-builder input:focus, #wh-quote-builder select:focus, #wh-quote-builder textarea:focus { border-color: #111111; background: #F3F3F3; }
.whqb-consent-label { display: flex !important; gap: 12px; align-items: flex-start; margin-top: 24px !important; color: #5B5B5B !important; line-height: 1.5; }
.whqb-consent-label input { width: 18px !important; min-width: 18px !important; height: 18px !important; margin-top: 3px !important; padding: 0 !important; }
.whqb-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 38px; width: 100%; max-width: 100%; overflow: visible; }
#wh-quote-builder .whqb-options button {
  appearance: none !important; -webkit-appearance: none !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; display: block !important; text-align: left !important; border: 1px solid transparent !important; background: #F3F3F3 !important; border-radius: 28px !important; padding: 30px !important; cursor: pointer !important; transition: transform 0.22s ease !important; color: #111111 !important; font-family: inherit !important; box-shadow: none !important; overflow: visible !important; white-space: normal !important;
}
#wh-quote-builder .whqb-options button:hover, #wh-quote-builder .whqb-options button:focus, #wh-quote-builder .whqb-options button:active {
  transform: translateY(-4px) !important; background: #F3F3F3 !important; color: #111111 !important; border-color: transparent !important; box-shadow: none !important; outline: none !important;
}
#wh-quote-builder .whqb-options button.selected, #wh-quote-builder .whqb-options button.selected:hover, #wh-quote-builder .whqb-options button.selected:focus, #wh-quote-builder .whqb-options button.selected:active {
  background: #111111 !important; color: #ffffff !important; border-color: #111111 !important; transform: translateY(-4px) !important;
}
.whqb-options button span { display: block; font-size: 20px; line-height: 1.3; font-weight: 400; margin-bottom: 12px; letter-spacing: -0.02em; white-space: normal; overflow-wrap: normal; word-break: normal; }
.whqb-options button small { display: block; font-size: 15px; line-height: 1.55; color: #5B5B5B; margin-bottom: 20px; font-weight: 400; white-space: normal; overflow-wrap: normal; word-break: normal; }
#wh-quote-builder .whqb-options button.selected span,
#wh-quote-builder .whqb-options button.selected strong { color: #ffffff !important; }
#wh-quote-builder .whqb-options button.selected small { color: rgba(255,255,255,0.72) !important; }
.whqb-options button strong { display: block; font-size: 16px; line-height: 1.4; font-weight: 400; white-space: normal; }
.whqb-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; width: 100%; }
#wh-quote-builder .whqb-primary, #wh-quote-builder .whqb-secondary, #wh-quote-builder .whqb-submit {
  appearance: none !important; -webkit-appearance: none !important; border-radius: 999px !important; padding: 17px 34px !important; font-size: 17px !important; cursor: pointer !important; transition: transform 0.2s ease !important; font-family: inherit !important; font-weight: 500 !important; line-height: 1.2 !important; background: transparent !important; color: #111111 !important; border: 1px solid #5B5B5B !important; box-shadow: none !important; min-width: 120px !important;
}
#wh-quote-builder .whqb-primary:hover, #wh-quote-builder .whqb-primary:focus, #wh-quote-builder .whqb-primary:active, #wh-quote-builder .whqb-submit:hover, #wh-quote-builder .whqb-submit:focus, #wh-quote-builder .whqb-submit:active, #wh-quote-builder .whqb-secondary:hover, #wh-quote-builder .whqb-secondary:focus, #wh-quote-builder .whqb-secondary:active {
  transform: translateY(-3px) !important; background: transparent !important; color: #111111 !important; border-color: #5B5B5B !important; box-shadow: none !important; opacity: 1 !important; outline: none !important;
}
.whqb-submit { width: 100%; }
.whqb-summary-card { background: #F3F3F3; color: #111111; border-radius: 32px; padding: 38px; margin-top: 38px; width: 100%; }
.whqb-label { font-size: 18px; color: #5B5B5B; margin: 0 0 18px; font-weight: 400; }
.whqb-recommendation { font-size: 26px; line-height: 1.18; margin: 0 0 12px; font-weight: 400; letter-spacing: -0.035em; }
.whqb-reason { margin: 0 0 24px; font-size: 17px; line-height: 1.55; color: #5B5B5B; }
.whqb-total { font-size: 54px; line-height: 1; letter-spacing: -0.055em; margin-bottom: 18px; font-weight: 400; }
.whqb-range { margin: 0; font-size: 17px; line-height: 1.5; color: #5B5B5B; font-weight: 400; }
.whqb-monthly { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: #111111; font-weight: 400; }
.whqb-selected { margin-top: 30px; border-top: 1px solid #eeeeee; padding-top: 28px; background: transparent; }
.whqb-selected h4 { margin: 0 0 14px; font-size: 18px; font-weight: 400; letter-spacing: -0.02em; }
.whqb-selected ul { padding-left: 18px; margin: 0; color: #5B5B5B; font-size: 16px; line-height: 1.8; }
.whqb-submit-note { margin-top: 18px; text-align: center; }
.whqb-includes { margin-top: 30px; padding: 30px 0; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; }
.whqb-includes h4 { margin: 0 0 20px; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.whqb-includes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.whqb-includes-grid span { position: relative; padding-left: 20px; color: #222; font-size: 15px; line-height: 1.45; }
.whqb-includes-grid span::before { content: '✓'; position: absolute; left: 0; color: #777; }
.whqb-includes p { margin: 22px 0 0; color: #666; font-size: 14px; line-height: 1.6; }
.whqb-care { margin-top: 30px; padding-top: 30px; border-top: 1px solid #e8e8e8; }
.whqb-care h4 { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.whqb-care .whqb-options { margin-top: 22px; }
.whqb-recurring { margin-top: 30px; padding: 26px 28px; border-radius: 24px; background: #f3f3f3; }
.whqb-recurring:empty { display: none; }
.whqb-recurring h4 { margin: 0 0 16px; font-size: 18px; font-weight: 500; }
.whqb-recurring span { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; color: #5b5b5b; font-size: 15px; line-height: 1.45; }
.whqb-recurring span strong { color: #111; white-space: nowrap; font-weight: 500; }
.whqb-recurring p { display: flex; justify-content: space-between; gap: 20px; margin: 14px 0 0; padding-top: 16px; border-top: 1px solid #ddd; color: #111; }
.whqb-result-continue { width: 100%; margin-top: 30px; }
.whqb-success { text-align: center; padding: 30px 0; }
.whqb-success-icon { width: 64px; height: 64px; margin: 0 auto 28px; border-radius: 50%; display: grid; place-items: center; background: #111; color: #fff; font-size: 24px; }
.whqb-next { max-width: 620px; margin: 36px auto 0; padding: 28px; border-radius: 24px; background: #f3f3f3; display: grid; gap: 12px; text-align: left; }
.whqb-next strong { margin-bottom: 4px; }
.whqb-next span { color: #5b5b5b; }
.whqb-step[data-step="7"] .whqb-submit { margin-top: 30px; }
.whgqb-hidden { display: none !important; }
@media (max-width: 1024px) {
  #wh-quote-builder { --whgqb-side-gap: 24px; width: min(var(--whgqb-max-width), calc(100vw - (var(--whgqb-side-gap) * 2))); }
  .whqb-card { padding: 40px; }
}
@media (max-width: 767px) {
  #wh-quote-builder { --whgqb-side-gap: 18px; width: calc(100vw - 36px); }
  .whqb-card { padding: 28px; border-radius: 32px; }
  .whqb-sub, .whqb-note { font-size: 16px; }
  .whqb-step h3 { font-size: 26px; }
  .whqb-grid, .whqb-options { grid-template-columns: 1fr; }
  .whqb-includes-grid { grid-template-columns: 1fr; }
  #wh-quote-builder label, #wh-quote-builder input, #wh-quote-builder select, #wh-quote-builder textarea { font-size: 16px; }
  #wh-quote-builder .whqb-options button { padding: 24px !important; border-radius: 24px !important; }
  .whqb-options button span { font-size: 19px; }
  .whqb-total { font-size: 46px; }
  .whqb-recurring span, .whqb-recurring p { align-items: flex-start; }
  .whqb-nav { flex-direction: column; }
  #wh-quote-builder .whqb-primary, #wh-quote-builder .whqb-secondary { width: 100% !important; }
}

/* Dedicated quote thank-you page. */
.whgqb-thank-you {
  --whgqb-thank-you-gap: 24px;
  width: 100%;
  padding: 72px 24px;
  color: #111111;
  background: #f3f3f3;
  font-family: Inter, Arial, sans-serif;
}
.whgqb-thank-you * { box-sizing: border-box; }
.whgqb-thank-you-card {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px;
  border-radius: 48px;
  background: #ffffff;
  text-align: center;
  overflow: hidden;
}
.whgqb-thank-you-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-size: 25px;
  line-height: 1;
}
.whgqb-thank-you-eyebrow {
  margin: 0 0 14px;
  color: #777777;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.whgqb-thank-you h1 {
  max-width: 760px;
  margin: 0 auto 18px;
  color: #111111;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.whgqb-thank-you-description {
  max-width: 720px;
  margin: 0 auto;
  color: #5b5b5b;
  font-size: 18px;
  line-height: 1.6;
}
.whgqb-response-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 860px;
  margin: 42px auto 0;
  padding: 24px 28px;
  border-radius: 22px;
  background: #f3f3f3;
  text-align: left;
}
.whgqb-response-card span {
  color: #5b5b5b;
  font-size: 15px;
  line-height: 1.4;
}
.whgqb-response-card strong {
  max-width: 470px;
  color: #111111;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
}
.whgqb-thank-you-next { margin-top: 54px; }
.whgqb-thank-you-next > p {
  margin: 0 0 22px;
  color: #111111;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.whgqb-thank-you-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--whgqb-thank-you-gap);
  text-align: left;
}
.whgqb-thank-you-step {
  min-width: 0;
  padding: 28px;
  border-radius: 28px;
  background: #f3f3f3;
}
.whgqb-thank-you-step > span {
  display: block;
  margin-bottom: 34px;
  color: #777777;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .12em;
}
.whgqb-thank-you-step h2 {
  margin: 0 0 10px;
  color: #111111;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.whgqb-thank-you-step p {
  margin: 0;
  color: #5b5b5b;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.whgqb-thank-you-button,
.whgqb-thank-you-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 38px;
  padding: 16px 28px;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #111111;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .2s ease, opacity .2s ease;
}
.whgqb-thank-you-button:hover,
.whgqb-thank-you-button:focus {
  color: #ffffff !important;
  transform: translateY(-3px);
  opacity: .88;
}
@media (max-width: 900px) {
  .whgqb-thank-you { padding: 48px 22px; }
  .whgqb-thank-you-card { padding: 52px 38px; border-radius: 38px; }
  .whgqb-thank-you-steps { grid-template-columns: 1fr; }
  .whgqb-thank-you-step > span { margin-bottom: 20px; }
}
@media (max-width: 767px) {
  .whgqb-thank-you { padding: 28px 16px; }
  .whgqb-thank-you-card { padding: 38px 22px; border-radius: 30px; }
  .whgqb-thank-you-icon { width: 56px; height: 56px; margin-bottom: 22px; }
  .whgqb-thank-you h1 { font-size: 38px; line-height: 1.06; }
  .whgqb-thank-you-description { font-size: 16px; }
  .whgqb-response-card { display: block; margin-top: 32px; padding: 22px; }
  .whgqb-response-card span { display: block; margin-bottom: 8px; }
  .whgqb-response-card strong { display: block; font-size: 16px; text-align: left; }
  .whgqb-thank-you-next { margin-top: 38px; }
  .whgqb-thank-you-step { padding: 24px; border-radius: 24px; }
  .whgqb-thank-you-button { width: 100%; margin-top: 28px; }
}


/* Elementor editor safety: keep the calculator in a clean one-step preview while the editor injects widgets. */
.elementor-editor-active #wh-quote-builder .whqb-step,
.elementor-editor-preview #wh-quote-builder .whqb-step {
  display: none !important;
}
.elementor-editor-active #wh-quote-builder .whqb-step.active,
.elementor-editor-preview #wh-quote-builder .whqb-step.active {
  display: block !important;
}
.elementor-editor-active #wh-quote-builder .whqb-grid,
.elementor-editor-preview #wh-quote-builder .whqb-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}
.elementor-editor-active #wh-quote-builder .whqb-options,
.elementor-editor-preview #wh-quote-builder .whqb-options {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (max-width: 767px) {
  .elementor-editor-active #wh-quote-builder .whqb-grid,
  .elementor-editor-preview #wh-quote-builder .whqb-grid,
  .elementor-editor-active #wh-quote-builder .whqb-options,
  .elementor-editor-preview #wh-quote-builder .whqb-options {
    grid-template-columns: 1fr !important;
  }
}
