/*
 * bhs-calculator — Interior Design Solution Cost Calculator (3 steps + popups).
 * Source: asianpaints.com/resources/tools/interior-design-solutions-calculator
 * (section "bhs-calculator"). Authoring and behaviour: README.md.
 *
 * Every value is the source's computed value at 1440px (desktop, from 993px:
 * the source switches at max-width 992px) or 390px (mobile), declared once
 * as a scoped custom property. Icons are the source's (arrow-icon.svg,
 * arrow-tick.svg, arrow-black.webp, count-minus/plus-green.svg and the flag /
 * WhatsApp sprite crops), inlined. The source's desktop background image and
 * checkbox tick image return 404 on the source, so neither is drawn there:
 * the section shows only its gradient and the tick is the CSS border tick.
 *
 * Font: the source's "Manrope" (300-800). This repo does not load Manrope
 * (the main site does), so text falls back to sans-serif here.
 */

/* rules follow the source's cascade (base, then state / hover overrides per
   component), which this lint rule cannot express without reordering */
/* stylelint-disable no-descending-specificity */

/* full width: the block lays itself out like the source */
main .section.bhs-calculator-container > .bhs-calculator-wrapper {
  max-width: none;
  padding: 0;
}

.bhs-calculator {
  /* source values */
  --bhs-calculator-font: "Manrope", sans-serif;
  --bhs-calculator-text: #222;
  --bhs-calculator-black: #000;
  --bhs-calculator-white: var(--background-color); /* #fff */
  --bhs-calculator-panel: #fff5eb;
  --bhs-calculator-gradient: linear-gradient(rgb(102 124 147 / 50%) 0, rgb(123 136 149 / 0%) 100%);
  --bhs-calculator-cta: linear-gradient(#fec940, #f90);
  --bhs-calculator-cta-text: #1e1e1e;
  --bhs-calculator-ink: #1d1d1f;
  --bhs-calculator-room-shadow: 0 4px 2px -2px rgb(0 0 0 / 15%);
  --bhs-calculator-check-border: #a7a7a7;
  --bhs-calculator-green: #00c853;
  --bhs-calculator-counter-bg: rgb(0 200 83 / 37.6%); /* #00c85360 */
  --bhs-calculator-card-1: #f1ffdf;
  --bhs-calculator-card-2: #edfcff;
  --bhs-calculator-card-3: #fff7ed;
  --bhs-calculator-card-custom: #323232;
  --bhs-calculator-card-shadow: 0 2px 4px 2px rgb(0 0 0 / 10%);
  --bhs-calculator-card-shadow-custom: 0 4px 4px 2px rgb(0 0 0 / 10%);
  --bhs-calculator-selected-border: #7345b2;
  --bhs-calculator-selected-bg: #e2f9eb;
  --bhs-calculator-input-border: #bdbdbd;
  --bhs-calculator-input-text: #303030;
  --bhs-calculator-placeholder: #757575;
  --bhs-calculator-error: #ed1c24;
  --bhs-calculator-error-border: #f00;
  --bhs-calculator-switch-text: #2a2a2a;
  --bhs-calculator-switch-border: #9b9b9b;
  --bhs-calculator-switch-hover: #7ad06d;
  --bhs-calculator-disclaimer: #424242;
  --bhs-calculator-link: #00e;
  --bhs-calculator-form-shell: rgb(0 0 0 / 30%);
  --bhs-calculator-dialog-border: rgb(0 0 0 / 20%);
  --bhs-calculator-dialog-title-mobile: #323232;
  --bhs-calculator-focus: #7b61ff; /* the source's room-checkbox focus colour */

  /* Contrast (source values kept; ratios and the full table in README).
     Failing pairs and compliant alternatives, for your decision:
     --bhs-calculator-error: #c41a21;          error text 4.07:1 -> 5.55:1
     --bhs-calculator-placeholder: #6b6b6b;    placeholder 4.28:1 -> 4.95:1
     --bhs-calculator-input-border: #858585;   field border 1.75:1 -> 3.43:1
     --bhs-calculator-switch-border: #858585;  switch border 2.58:1 -> 3.43:1
     --bhs-calculator-check-border: #858585;   room box 2.41:1 -> 3.69:1
     --bhs-calculator-green: #008a3e;          checked box / selected button border 2.24:1 -> 4.46:1
     --bhs-calculator-gradient: linear-gradient(#5a6e83 0, rgb(123 136 149 / 0%) 100%);  title 1.89:1 -> 5.26:1 */

  color: var(--bhs-calculator-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.bhs-calculator,
.bhs-calculator *,
.bhs-calculator *::before,
.bhs-calculator *::after {
  box-sizing: border-box;
}

.bhs-calculator :is(h2, h3, h4, p, ul) {
  margin: 0;
}

.bhs-calculator ul {
  padding: 0;
  list-style: none;
}

.bhs-calculator button {
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
}

.bhs-calculator [hidden] {
  display: none !important;
}

.bhs-calculator .bhs-calculator-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- shell (mobile first: below 993px) ---------- */
.bhs-calculator .bhs-calculator-container {
  position: relative;
  padding: 0 0 40px;
  background-image: var(--bhs-calculator-gradient);
}

.bhs-calculator .bhs-calculator-banner {
  height: 122px;
  background: var(--bhs-calculator-gradient) 0 0 / cover no-repeat, var(--bhs-calculator-banner-image, none) 0 0 / cover no-repeat;
}

.bhs-calculator .bhs-calculator-title {
  max-width: 195px;
  margin: 0 auto 21px;
  padding-top: 46px;
  color: var(--bhs-calculator-white);
  font-size: 20px;
  font-weight: 800;
  line-height: normal;
  text-align: center;
}

.bhs-calculator .bhs-calculator-panel {
  max-width: 954px;
  margin: 0 auto;
  padding: 12px 20px 40px;
  border-radius: 10px;
  background-color: var(--bhs-calculator-panel);
  text-align: center;
}

.bhs-calculator .bhs-calculator-step-count {
  margin-bottom: 12px;
  color: var(--bhs-calculator-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0.5px;
}

.bhs-calculator .bhs-calculator-step-count span {
  font-weight: 300;
  opacity: 0.6;
}

.bhs-calculator .bhs-calculator-step-heading {
  margin-bottom: 15px;
  color: var(--bhs-calculator-black);
  font-size: 16px;
  font-weight: 800;
  line-height: normal;
}

.bhs-calculator .bhs-calculator-step-heading:focus {
  outline: none;
}

/* ---------- step 1: rooms ---------- */
.bhs-calculator [data-step="1"] .bhs-calculator-step-count {
  margin-bottom: 10px;
}

.bhs-calculator [data-step="1"] .bhs-calculator-step-heading {
  margin-bottom: 20px;
  letter-spacing: 0.24px;
}

.bhs-calculator .bhs-calculator-rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 708px;
  min-height: 365px;
  margin: 0 auto;
  align-content: flex-start;
}

.bhs-calculator .bhs-calculator-room {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  height: 53px;
  padding: 16px 20px;
  border-radius: 5px;
  background-color: var(--bhs-calculator-white);
  box-shadow: var(--bhs-calculator-room-shadow);
}

.bhs-calculator .bhs-calculator-room-input {
  display: inline-block;
  width: 0;
  height: 0;
  margin: 0;
  opacity: 0;
}

.bhs-calculator .bhs-calculator-room-label label {
  position: relative;
  display: inline-block;
  margin-bottom: 4px;
  padding-left: 36px;
  color: var(--bhs-calculator-black);
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
}

.bhs-calculator .bhs-calculator-room-label label::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid var(--bhs-calculator-check-border);
  border-radius: 2px;
}

.bhs-calculator .bhs-calculator-room-label label::after {
  content: "";
  position: absolute;
  top: 33%;
  left: 6px;
  display: block;
  width: 4px;
  height: 9px;
  border: solid var(--bhs-calculator-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.bhs-calculator .bhs-calculator-room-input:checked + label {
  font-weight: 700;
}

.bhs-calculator .bhs-calculator-room-input:checked + label::before {
  border-color: var(--bhs-calculator-green);
  background: var(--bhs-calculator-green);
}

/* focus: the source's 2px #7b61ff box, plus a ring */
.bhs-calculator .bhs-calculator-room-input:focus-visible + label::before {
  border: 2px solid var(--bhs-calculator-focus);
  outline: 2px solid var(--bhs-calculator-focus);
  outline-offset: 2px;
}

.bhs-calculator .bhs-calculator-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bhs-calculator .bhs-calculator-counter button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 21px;
  height: 21px;
  padding: 1px 6px;
  border-radius: 50%;
  background: var(--bhs-calculator-counter-bg) no-repeat center;
}

.bhs-calculator .bhs-calculator-count-minus {
  background-image: url('data:image/svg+xml,%3Csvg width=%225%22 height=%221%22 viewBox=%220 0 5 1%22 fill=%22none%22 xmlns=%22http://www.w3.org/2000/svg%22%3E %3Cg opacity=%220.6%22%3E %3Cpath d=%22M4.84091 0V0.954545H0V0H4.84091Z%22 fill=%22%2300C853%22/%3E %3C/g%3E %3C/svg%3E') !important;
  background-size: 8px 1.6px !important;
}

.bhs-calculator .bhs-calculator-count-plus {
  background-image: url('data:image/svg+xml,%3Csvg width=%228%22 height=%228%22 viewBox=%220 0 8 8%22 fill=%22none%22 xmlns=%22http://www.w3.org/2000/svg%22%3E %3Cpath d=%22M3.11364 7.19318V0H4.08523V7.19318H3.11364ZM0 4.07955V3.11364H7.19886V4.07955H0Z%22 fill=%22%2300C853%22/%3E %3C/svg%3E') !important;
  background-size: 8px 8px !important;
}

.bhs-calculator .bhs-calculator-count-minus:disabled {
  opacity: 0.6;
  cursor: default;
}

.bhs-calculator .bhs-calculator-count {
  font-size: 16px;
  line-height: 22px;
}

.bhs-calculator .bhs-calculator-actions {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  width: 100%;
  margin: 22px auto 0;
}

/* ---------- CTAs (the source's yellow "animated arrow" buttons) ---------- */
.bhs-calculator .bhs-calculator-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  outline: 1px solid transparent; /* forced colours: keeps the button visible */
  outline-offset: -1px;
  background: var(--bhs-calculator-cta);
  color: var(--bhs-calculator-cta-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 19.6px;
  text-align: center;
  text-decoration: none;
  text-transform: capitalize;
  cursor: pointer;
}

.bhs-calculator .bhs-calculator-next {
  width: 100%;
  padding: 9.2px 60px;
}

.bhs-calculator .bhs-calculator-arrow {
  display: flex;
  width: 17px;
  height: 20px;
  transition: 0.2s ease-in;
}

.bhs-calculator .bhs-calculator-arrow::after {
  content: "";
  display: block;
  width: 17px;
  height: 20px;
  background: url('data:image/svg+xml,%3Csvg width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22 fill=%22none%22 xmlns=%22http://www.w3.org/2000/svg%22%3E %3Cg id=%22Icon%22%3E %3Cg id=%22Icon_2%22%3E %3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M10.2563 4.13128C10.598 3.78957 11.152 3.78957 11.4937 4.13128L16.7437 9.38128C17.0854 9.72299 17.0854 10.277 16.7437 10.6187L11.4937 15.8687C11.152 16.2104 10.598 16.2104 10.2563 15.8687C9.91457 15.527 9.91457 14.973 10.2563 14.6313L14.0126 10.875L3.875 10.875C3.39175 10.875 3 10.4832 3 10C3 9.51675 3.39175 9.125 3.875 9.125H14.0126L10.2563 5.36872C9.91457 5.02701 9.91457 4.47299 10.2563 4.13128Z%22 fill=%22%23FF0D0D%22 style=%22mix-blend-mode:saturation%22/%3E %3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M10.2563 4.13128C10.598 3.78957 11.152 3.78957 11.4937 4.13128L16.7437 9.38128C17.0854 9.72299 17.0854 10.277 16.7437 10.6187L11.4937 15.8687C11.152 16.2104 10.598 16.2104 10.2563 15.8687C9.91457 15.527 9.91457 14.973 10.2563 14.6313L14.0126 10.875L3.875 10.875C3.39175 10.875 3 10.4832 3 10C3 9.51675 3.39175 9.125 3.875 9.125H14.0126L10.2563 5.36872C9.91457 5.02701 9.91457 4.47299 10.2563 4.13128Z%22 fill=%22white%22 style=%22mix-blend-mode:difference%22/%3E %3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M10.2563 4.13128C10.598 3.78957 11.152 3.78957 11.4937 4.13128L16.7437 9.38128C17.0854 9.72299 17.0854 10.277 16.7437 10.6187L11.4937 15.8687C11.152 16.2104 10.598 16.2104 10.2563 15.8687C9.91457 15.527 9.91457 14.973 10.2563 14.6313L14.0126 10.875L3.875 10.875C3.39175 10.875 3 10.4832 3 10C3 9.51675 3.39175 9.125 3.875 9.125H14.0126L10.2563 5.36872C9.91457 5.02701 9.91457 4.47299 10.2563 4.13128Z%22 fill=%22white%22 style=%22mix-blend-mode:saturation%22/%3E %3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M10.2563 4.13128C10.598 3.78957 11.152 3.78957 11.4937 4.13128L16.7437 9.38128C17.0854 9.72299 17.0854 10.277 16.7437 10.6187L11.4937 15.8687C11.152 16.2104 10.598 16.2104 10.2563 15.8687C9.91457 15.527 9.91457 14.973 10.2563 14.6313L14.0126 10.875L3.875 10.875C3.39175 10.875 3 10.4832 3 10C3 9.51675 3.39175 9.125 3.875 9.125H14.0126L10.2563 5.36872C9.91457 5.02701 9.91457 4.47299 10.2563 4.13128Z%22 fill=%22white%22 style=%22mix-blend-mode:overlay%22/%3E %3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M10.2563 4.13128C10.598 3.78957 11.152 3.78957 11.4937 4.13128L16.7437 9.38128C17.0854 9.72299 17.0854 10.277 16.7437 10.6187L11.4937 15.8687C11.152 16.2104 10.598 16.2104 10.2563 15.8687C9.91457 15.527 9.91457 14.973 10.2563 14.6313L14.0126 10.875L3.875 10.875C3.39175 10.875 3 10.4832 3 10C3 9.51675 3.39175 9.125 3.875 9.125H14.0126L10.2563 5.36872C9.91457 5.02701 9.91457 4.47299 10.2563 4.13128Z%22 fill=%22black%22 style=%22mix-blend-mode:overlay%22/%3E %3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M10.2563 4.13128C10.598 3.78957 11.152 3.78957 11.4937 4.13128L16.7437 9.38128C17.0854 9.72299 17.0854 10.277 16.7437 10.6187L11.4937 15.8687C11.152 16.2104 10.598 16.2104 10.2563 15.8687C9.91457 15.527 9.91457 14.973 10.2563 14.6313L14.0126 10.875L3.875 10.875C3.39175 10.875 3 10.4832 3 10C3 9.51675 3.39175 9.125 3.875 9.125H14.0126L10.2563 5.36872C9.91457 5.02701 9.91457 4.47299 10.2563 4.13128Z%22 fill=%22white%22 style=%22mix-blend-mode:overlay%22/%3E %3Cpath fill-rule=%22evenodd%22 clip-rule=%22evenodd%22 d=%22M10.2563 4.13128C10.598 3.78957 11.152 3.78957 11.4937 4.13128L16.7437 9.38128C17.0854 9.72299 17.0854 10.277 16.7437 10.6187L11.4937 15.8687C11.152 16.2104 10.598 16.2104 10.2563 15.8687C9.91457 15.527 9.91457 14.973 10.2563 14.6313L14.0126 10.875L3.875 10.875C3.39175 10.875 3 10.4832 3 10C3 9.51675 3.39175 9.125 3.875 9.125H14.0126L10.2563 5.36872C9.91457 5.02701 9.91457 4.47299 10.2563 4.13128Z%22 fill=%22black%22 style=%22mix-blend-mode:overlay%22/%3E %3C/g%3E %3C/g%3E %3C/svg%3E');
  filter: invert(1);
}

.bhs-calculator .bhs-calculator-next:disabled {
  opacity: 0.65;
  cursor: pointer;
}

.bhs-calculator [data-step="2"] .bhs-calculator-next:disabled {
  opacity: 0.6;
  cursor: default;
}

.bhs-calculator .bhs-calculator-next:not(:disabled):hover {
  padding: 8.4px 60px;
  border: 1px solid var(--bhs-calculator-black);
  background: transparent;
  color: var(--bhs-calculator-text);
}

.bhs-calculator .bhs-calculator-next:not(:disabled):hover .bhs-calculator-arrow,
.bhs-calculator .bhs-calculator-select:hover .bhs-calculator-arrow,
.bhs-calculator .bhs-calculator-select:focus-visible .bhs-calculator-arrow,
.bhs-calculator .bhs-calculator-submit:not(:disabled):is(:hover, :focus-visible) .bhs-calculator-arrow,
.bhs-calculator .bhs-calculator-dialog-cta:is(:hover, :focus-visible) .bhs-calculator-arrow {
  transform: translateX(6px);
}

/* ---------- step 2: packages ---------- */
.bhs-calculator [data-step="2"] {
  padding: 0 0 28px;
}

.bhs-calculator [data-step="2"] .bhs-calculator-step-heading {
  margin: 10px 42px 22px 21px;
}

.bhs-calculator .bhs-calculator-packages {
  display: flex;
  max-width: 800px;
  margin: 0;
  padding: 0 0 10px;
  overflow: auto hidden;
  scrollbar-width: none;
}

.bhs-calculator .bhs-calculator-packages::-webkit-scrollbar {
  display: none;
}

.bhs-calculator .bhs-calculator-package {
  position: relative;
  width: 25%;
  min-width: 200px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bhs-calculator-card-1);
  box-shadow: var(--bhs-calculator-card-shadow);
  transition: transform 0.3s;
}

.bhs-calculator .bhs-calculator-package:nth-child(2) {
  background: var(--bhs-calculator-card-2);
}

.bhs-calculator .bhs-calculator-package:nth-child(3) {
  background: var(--bhs-calculator-card-3);
}

.bhs-calculator .bhs-calculator-package-media {
  position: relative;
}

.bhs-calculator .bhs-calculator-package-media img {
  display: block;
  width: 100%;
  height: auto;
}

.bhs-calculator .bhs-calculator-package-name {
  position: absolute;
  top: 25px;
  left: 19px;
  margin: 0 0 7px;
  color: var(--bhs-calculator-white);
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  text-align: left;
  text-transform: capitalize;
}

.bhs-calculator .bhs-calculator-package-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 17px;
  height: calc(100% - 84px);
  padding: 0 20px 25px;
}

.bhs-calculator .bhs-calculator-package-features {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  overflow-wrap: break-word;
}

.bhs-calculator .bhs-calculator-package-features li {
  position: relative;
  padding-left: 22px;
  color: var(--bhs-calculator-black);
  font-size: 12px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
}

.bhs-calculator .bhs-calculator-package-features li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  display: block;
  width: 6px;
  height: 3px;
  border: solid var(--bhs-calculator-black);
  border-width: 0 0 2px 2px;
  transform: rotate(-50deg);
}

.bhs-calculator .bhs-calculator-select {
  display: inline-flex;
  justify-content: center;
  align-self: flex-start;
  gap: 10px;
  width: 123px;
  max-width: 123px;
  padding: 8px 12px;
  border: 0.5px solid var(--bhs-calculator-ink);
  border-radius: 30px;
  background: transparent;
  color: var(--bhs-calculator-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 19.6px;
  letter-spacing: 0.28px;
  text-align: center;
  text-transform: capitalize;
  vertical-align: middle;
}

.bhs-calculator .bhs-calculator-select:hover,
.bhs-calculator .bhs-calculator-select:focus-visible {
  padding: 8.4px 60px;
  border: 0;
  background: var(--bhs-calculator-cta);
  color: var(--bhs-calculator-ink);
}

/* custom package card */
.bhs-calculator .bhs-calculator-package.is-custom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bhs-calculator-card-custom);
  box-shadow: var(--bhs-calculator-card-shadow-custom);
}

.bhs-calculator .bhs-calculator-package.is-custom picture {
  align-self: flex-end;
}

.bhs-calculator .bhs-calculator-package.is-custom img {
  display: block;
  width: auto;
  height: auto;
}

.bhs-calculator .bhs-calculator-package.is-custom .bhs-calculator-package-body {
  display: block;
  height: auto;
  padding: 0 18px 25px 20px;
}

.bhs-calculator .bhs-calculator-package.is-custom .bhs-calculator-package-name {
  position: static;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 26.4px;
  letter-spacing: 0.5px;
  text-transform: none;
}

.bhs-calculator .bhs-calculator-package-text {
  margin-bottom: 25px;
  color: var(--bhs-calculator-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-align: left;
}

.bhs-calculator .bhs-calculator-package.is-custom .bhs-calculator-select {
  border: 1px solid var(--bhs-calculator-white);
  color: var(--bhs-calculator-white);
}

.bhs-calculator .bhs-calculator-package.is-custom .bhs-calculator-arrow::after {
  filter: invert(0);
}

.bhs-calculator .bhs-calculator-package.is-custom .bhs-calculator-select:is(:hover, :focus-visible) {
  border: 0;
  color: var(--bhs-calculator-ink);
}

.bhs-calculator .bhs-calculator-package.is-custom .bhs-calculator-select:is(:hover, :focus-visible) .bhs-calculator-arrow::after {
  filter: invert(1);
}

/* hover: the hovered card grows, the others fade (the source's card-hover classes) */
.bhs-calculator .bhs-calculator-packages:hover .bhs-calculator-package:not(:hover) {
  opacity: 0.8;
}

.bhs-calculator .bhs-calculator-package:hover {
  z-index: 1;
  transform: scale(1, 1.06);
}

/* the chosen package (the source's card-active + card-bg) */
.bhs-calculator .bhs-calculator-package.is-selected {
  z-index: 1;
  border: 1px solid var(--bhs-calculator-selected-border);
  background: var(--bhs-calculator-selected-bg);
  box-shadow: var(--bhs-calculator-card-shadow-custom);
  transform: scale(1.06);
}

.bhs-calculator .bhs-calculator-package.is-selected img {
  mix-blend-mode: luminosity;
}

.bhs-calculator .bhs-calculator-package.is-custom.is-selected img {
  mix-blend-mode: multiply;
}

.bhs-calculator .bhs-calculator-package.is-selected .bhs-calculator-select {
  border: 1px solid var(--bhs-calculator-green);
  color: var(--bhs-calculator-ink);
}

.bhs-calculator .bhs-calculator-package.is-custom.is-selected :is(.bhs-calculator-package-name, .bhs-calculator-package-text) {
  color: var(--bhs-calculator-ink);
}

.bhs-calculator .bhs-calculator-package.is-selected .bhs-calculator-arrow::after {
  background: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22 fill=%22none%22%3E %3Cpath d=%22M3.75 10.8923L7.32143 14.4637L16.25 5.53516%22 stroke=%22%23111827%22 stroke-width=%221.13%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E %3C/svg%3E');
  filter: invert(0);
}

/* the chosen card keeps its green border and black tick while hovered or focused
   (the source's card-active rules outrank its hover rules) */
.bhs-calculator .bhs-calculator-package.is-selected .bhs-calculator-select:is(:hover, :focus-visible) {
  border: 1px solid var(--bhs-calculator-green);
}

.bhs-calculator .bhs-calculator-package.is-selected .bhs-calculator-select .bhs-calculator-arrow::after {
  filter: invert(0) !important;
}

/* back / next */
.bhs-calculator .bhs-calculator-buttons {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 27px;
}

.bhs-calculator .bhs-calculator-back {
  min-width: 142px;
  margin: 0 20px 0 0;
  padding: 0 5px;
  color: var(--bhs-calculator-black);
  font-size: 14px;
  font-weight: 700;
  line-height: 19.6px;
  letter-spacing: -0.198px;
  text-align: center;
}

.bhs-calculator .bhs-calculator-buttons .bhs-calculator-back {
  width: 100%;
}

.bhs-calculator .bhs-calculator-back .bhs-calculator-arrow {
  display: inline-flex;
  margin-right: 10px;
  vertical-align: middle;
}

.bhs-calculator .bhs-calculator-back .bhs-calculator-arrow::after {
  transform: rotate(180deg);
}

.bhs-calculator .bhs-calculator-buttons .bhs-calculator-next {
  width: 100%;
  min-width: 160px;
  margin-right: 8px;
  letter-spacing: -0.198px;
}

/* ---------- step 3: lead form ---------- */
.bhs-calculator .bhs-calculator-step-subheading {
  color: var(--bhs-calculator-black);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.5px;
}

.bhs-calculator .bhs-calculator-form-shell {
  padding: 20px 0 0;
}

.bhs-calculator .bhs-calculator-form {
  min-height: fit-content;
  padding: 20px 0;
  border-radius: 5px;
  background-color: var(--bhs-calculator-panel);
}

.bhs-calculator .bhs-calculator-field {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 0 18px;
}

.bhs-calculator .bhs-calculator-field-label {
  position: absolute;
  top: 30px;
  z-index: 10;
  margin-left: 15px;
  padding: 5px 5px 0;
  background-color: var(--bhs-calculator-panel);
  color: var(--bhs-calculator-black);
  font-size: 10px;
  font-weight: 400;
  line-height: 17px;
  text-align: center;
  transform: translateY(-35px);
  transition: transform 0.15s ease-in-out;
  cursor: pointer;
}

/* the source hides the label until the field is first focused or filled;
   here it stays in the accessibility tree (visually hidden) */
.bhs-calculator .bhs-calculator-field:not(.is-floating) .bhs-calculator-field-label {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.bhs-calculator .bhs-calculator-input {
  display: block;
  width: 100%;
  height: 56px;
  margin: 8px 0 0;
  padding: 1px 2px 1px 15px;
  border: 1px solid var(--bhs-calculator-input-border);
  border-radius: 8px;
  outline: none;
  background-color: var(--bhs-calculator-panel);
  color: var(--bhs-calculator-input-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  cursor: pointer;
  appearance: none;
}

.bhs-calculator .bhs-calculator-input::placeholder {
  color: var(--bhs-calculator-placeholder);
  opacity: 1;
}

.bhs-calculator .bhs-calculator-input:focus,
.bhs-calculator .bhs-calculator-input:not(:placeholder-shown) {
  border-color: var(--bhs-calculator-input-text);
  background-color: transparent;
}

.bhs-calculator .bhs-calculator-field.is-invalid .bhs-calculator-input {
  border-color: var(--bhs-calculator-error-border);
}

.bhs-calculator .bhs-calculator-field-error {
  display: flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 0;
  color: var(--bhs-calculator-error);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
}

.bhs-calculator .bhs-calculator-field-error:empty {
  display: none;
}

/* mobile number: +91 prefix box joined to the input */
.bhs-calculator .bhs-calculator-phone {
  position: relative;
  display: flex;
}

.bhs-calculator .bhs-calculator-phone .bhs-calculator-field {
  flex: 0 1 100%;
  min-width: 0;
}

.bhs-calculator .bhs-calculator-phone-prefix {
  display: flex;
  flex: none;
  align-items: center;
  height: 56px;
  margin-top: 8px;
  padding: 0 8px;
  border: 1px solid var(--bhs-calculator-input-border);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background-color: var(--bhs-calculator-panel);
}

.bhs-calculator .bhs-calculator-phone.is-focused .bhs-calculator-phone-prefix {
  border-color: var(--bhs-calculator-input-text);
  background-color: transparent;
}

.bhs-calculator .bhs-calculator-phone.is-invalid .bhs-calculator-phone-prefix {
  border-color: var(--bhs-calculator-error-border);
}

.bhs-calculator .bhs-calculator-phone-flag {
  display: block;
  width: 33px;
  height: 33px;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAABAGlDQ1BpY2MAABiVY2BgPMEABCwGDAy5eSVFQe5OChGRUQrsDxgYgRAMEpOLCxhwA6Cqb9cgai/r4lGHC3CmpBYnA+kPQKxSBLQcaKQIkC2SDmFrgNhJELYNiF1eUlACZAeA2EUhQc5AdgqQrZGOxE5CYicXFIHU9wDZNrk5pckIdzPwpOaFBgNpDiCWYShmCGJwZ3AC+R+iJH8RA4PFVwYG5gkIsaSZDAzbWxkYJG4hxFQWMDDwtzAwbDu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EtmyHOqJe7qUooXvuwWxWuyaXz8N2uINrRUoXTw8PP0ZWhqaTkWKOGHk5f47H84erbv4+eo6KYd6BKq69H+gAYgirS6NyXfntQ5gKKdnDRV6i7QXL+clo/Rv/JYT2AbowdIHqGSEsCbpCpEVIqLPRNtyqP1kNTdZ9RK22nMKDi0XmYtGOEsYAoA8AtRlqzYGY/iK4mdISfEVwI5iiWdAsSAKyQBbUdN1k1ELfxAoAtfoDybMDzU3/TnufKGpUMFkirF7FTVFZ/oq4/LOxvO+i9yzXdzVPMFHcS/GqffHiPlbGTU8PIk/x+FCsfqB5dkCeITYDrwGu1pgKXqN5BnID5AzMDlSnBwaIz3CbgEsvYoODbp4/vwCiHKkQqyFvQ95H8/b6/DICUWR12BPJDXAH0j7Q9ceCSHZB3HvBsmuNXvesrsWo1+ANajV4dR0T/aRQBqdbhR8rh5jieA6eS4Ey8KfCuDYTCdeAUtSGE045mw6yvoZ8/YF+wDlgLSzZ+v6LC7ic7ctnvPrP/wHfBb2y/Nv6KQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyNi0xMC0xMFQwOToxNjowMyswMDowMOZBc4UAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjYtMTAtMTBUMDk6MTY6MDMrMDA6MDCXHMs5AAAAHnRFWHRpY2M6Y29weXJpZ2h0AEdvb2dsZSBJbmMuIDIwMTasCzM4AAAAFHRFWHRpY2M6ZGVzY3JpcHRpb24Ac1JHQrqQcwcAAAAASUVORK5CYII=') no-repeat;
}

.bhs-calculator .bhs-calculator-phone-code {
  display: block;
  padding-right: 7px;
  font-size: 14px;
  line-height: 20px;
}

.bhs-calculator .bhs-calculator-phone-divider {
  display: block;
  width: 10px;
  height: 25px;
  border-right: 2px solid var(--bhs-calculator-black);
  opacity: 0.2;
}

.bhs-calculator .bhs-calculator-phone .bhs-calculator-input {
  padding-left: 8px;
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.bhs-calculator .bhs-calculator-phone .bhs-calculator-field-label {
  left: -89px;
}

.bhs-calculator .bhs-calculator-phone .bhs-calculator-field-error {
  margin-left: -73px;
}

/* WhatsApp switch */
.bhs-calculator .bhs-calculator-whatsapp {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  width: fit-content;
  padding: 0 0 15px;
  color: var(--bhs-calculator-switch-text);
  font-size: 12px;
  cursor: pointer;
}

.bhs-calculator .bhs-calculator-whatsapp-text {
  color: var(--bhs-calculator-black);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  text-align: left;
}

.bhs-calculator .bhs-calculator-whatsapp-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.bhs-calculator .bhs-calculator-whatsapp-toggle {
  position: relative;
  display: block;
  flex: 0 0 60px;
  width: 60px;
  height: 32px;
  border: 1px solid var(--bhs-calculator-switch-border);
  border-radius: 40px;
  line-height: 12px;
}

.bhs-calculator .bhs-calculator-whatsapp-toggle::after {
  content: "";
  position: relative;
  top: 2.4px;
  left: 2px;
  display: block;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--bhs-calculator-white) url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH6goKCRI0CJfVaAAABp9JREFUSMc9lktvnVcVhp+99t7f5XzHx5c6jtPGTRwHu0kKAlEEEkNO6ASqqqP+B1DzCxBizCiROmWIKgSTiElVA0IgRJFQhUhBdonjJq0d27F94nO+8932hYEDg3e61tKrZ71rqd/+6jc0tqajJXhhmjhGvQmTZErI1bpO9Fu5sW+K2BW83/DBERVbRHlSNf7Dw4PR/Ssvb2xnZ5qVUcLAJUy1xwu88/bbABgv4JUhZtDokkN3zKlt11k07/skDqOqKRUYEUIIqAhE2YhBb+heNpybW/p5k7nNz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

.bhs-calculator .bhs-calculator-whatsapp-input:checked + .bhs-calculator-whatsapp-toggle::after {
  left: 2.1px;
  filter: grayscale(0);
}

.bhs-calculator .bhs-calculator-whatsapp-state {
  position: absolute;
  top: 0;
  left: 29px;
  width: 33px;
  margin: 3.5px -6px;
  padding: 6.7px 0;
  border-radius: 0 40px 40px 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 10px;
  user-select: none;
}

.bhs-calculator .bhs-calculator-whatsapp:hover .bhs-calculator-whatsapp-toggle {
  border-color: var(--bhs-calculator-switch-hover);
}

.bhs-calculator .bhs-calculator-whatsapp-input:focus-visible + .bhs-calculator-whatsapp-toggle {
  border-color: var(--bhs-calculator-switch-hover);
  outline: 2px solid var(--bhs-calculator-focus);
  outline-offset: 2px;
}

/* disclaimer */
.bhs-calculator .bhs-calculator-disclaimer {
  margin: 10px 0 0;
  color: var(--bhs-calculator-disclaimer);
  font-size: 10px;
  line-height: 19px;
  text-align: left;
}

.bhs-calculator .bhs-calculator-disclaimer p {
  margin: 10px 0;
}

.bhs-calculator .bhs-calculator-disclaimer a {
  color: var(--bhs-calculator-link);
  text-decoration: underline;
}

/* back + submit */
.bhs-calculator .bhs-calculator-form-actions {
  display: grid;
  padding-top: 20px;
}

.bhs-calculator .bhs-calculator-form-actions .bhs-calculator-back {
  order: 1;
  justify-self: center;
  min-width: 0;
  margin: 21px 0 0; /* the source's 20px plus its inline wrapper's line box */
  padding: 0;
}

.bhs-calculator .bhs-calculator-form-actions .bhs-calculator-arrow {
  padding-right: 4px;
}

.bhs-calculator .bhs-calculator-form-actions .bhs-calculator-back .bhs-calculator-arrow {
  width: 21px;
}

.bhs-calculator .bhs-calculator-submit {
  width: 100%;
  padding: 10.5px 20px;
  border-radius: 45px;
  line-height: 16px;
  letter-spacing: 0.86px;
  text-transform: none;
}

.bhs-calculator .bhs-calculator-submit .bhs-calculator-arrow {
  width: 21px;
  height: 15px;
}

.bhs-calculator .bhs-calculator-dialog-cta .bhs-calculator-arrow {
  width: 17px;
  height: 15px;
  padding-right: 0;
}

.bhs-calculator .bhs-calculator-submit .bhs-calculator-arrow::after,
.bhs-calculator .bhs-calculator-dialog-cta .bhs-calculator-arrow::after {
  width: 17px;
  height: 15px;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAPCAQAAACouOyaAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfqCgoJEjQIl9VoAAAArElEQVQoz33Puw3CMBRG4XMdKy1eIJJHMCN4BEqqkAlgBDZhBTaw2CAjeITQBaTYdECep7z69EtXKv4TqNOeq+ogA/BGjQQD6VCey5DM8L1NiKa49LF3RdBmhSRS1F7H5FLALJIMEPHE7AgYyFMiQCZHvEQcASNoTliWemBxhJeXKrOZNJpmZcVSA63cpWIFBCwtXnVqG9DNnp6DJTIBS+Q2BlDspuTJi+MPCB/47Tq/vwku6gAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyNi0xMC0xMFQwOToxNjowMiswMDowMEA2eDEAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjYtMTAtMTBUMDk6MTY6MDIrMDA6MDAxa8CNAAAAAElFTkSuQmCC') no-repeat;
  filter: none;
}

.bhs-calculator .bhs-calculator-submit:not(:disabled):is(:hover, :focus-visible) {
  padding: 9.8px 19.2px;
  border: 1px solid var(--bhs-calculator-black);
  background: transparent;
  color: var(--bhs-calculator-black);
}

/* the popup button on the source (.animated-arrow-btn.yellow-gradient:hover): flat yellow, no outline */
.bhs-calculator .bhs-calculator-dialog-cta:is(:hover, :focus-visible) {
  background: #fed440;
  color: #222;
  box-shadow: none;
}

.bhs-calculator .bhs-calculator-submit:disabled {
  cursor: default;
  opacity: 0.65;
}

/* ---------- loading ---------- */
.bhs-calculator .bhs-calculator-loading-image {
  width: 172px;
  height: 171px;
  margin: 0 auto;
}

.bhs-calculator .bhs-calculator-loading-image img {
  display: inline;
  width: 100%;
  height: 100%;
}

.bhs-calculator .bhs-calculator-loading-text {
  margin-bottom: 14px;
  color: var(--bhs-calculator-black);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.5px;
}

/* ---------- popups (thank you / error) ---------- */
.bhs-calculator .bhs-calculator-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden auto;
  border: 0;
  background: transparent;
  color: var(--bhs-calculator-text);
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

/* the source's .modal-backdrop: black at 0.5 opacity behind the popup */
.bhs-calculator .bhs-calculator-dialog::backdrop {
  background: rgb(0 0 0 / 50%);
}

.bhs-calculator .bhs-calculator-dialog-box {
  position: relative;
  margin: 7px;
}

.bhs-calculator .bhs-calculator-dialog-content {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bhs-calculator-dialog-border);
  border-radius: 4.2px;
  background-color: var(--bhs-calculator-white);
}

.bhs-calculator .bhs-calculator-dialog-header {
  display: flex;
  justify-content: space-between;
}

.bhs-calculator .bhs-calculator-dialog-title {
  flex: 1 1 0%;
  margin: 35px 0 27px;
  padding-left: 22px;
  color: var(--bhs-calculator-dialog-title-mobile);
  font-size: 20px;
  font-weight: 800;
  line-height: normal;
  text-align: center;
}

.bhs-calculator .bhs-calculator-dialog-close {
  height: 22px;
  margin: 10px;
  padding: 0;
  color: var(--bhs-calculator-text);
  font-size: 14px;
  line-height: 22px;
}

.bhs-calculator .bhs-calculator-dialog-text {
  margin-bottom: 37px;
  padding: 0 40px;
  color: var(--bhs-calculator-black);
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
}

.bhs-calculator .bhs-calculator-dialog-text p {
  color: var(--bhs-calculator-black);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.5px;
}

.bhs-calculator .bhs-calculator-dialog-promo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 373px;

  /* the picture runs over the popup's 1px border: no white frame around it */
  margin: 0 -1px -1px;
  border-radius: 0 0 4.2px 4.2px;
  padding: 0 10%;
  background: var(--bhs-calculator-popup-mob, none) 0 0 / 100% 100% no-repeat;
}

.bhs-calculator .bhs-calculator-dialog-promo-content {
  color: var(--bhs-calculator-white);
  text-align: left;
}

.bhs-calculator .bhs-calculator-dialog-promo-heading {
  margin-bottom: 14px;
  color: var(--bhs-calculator-white);
  font-size: 32px;
  font-weight: 800;
  line-height: 35.2px;
  letter-spacing: 0.5px;
}

.bhs-calculator .bhs-calculator-dialog-promo-text {
  width: 85%;
  margin-bottom: 14px;
  color: var(--bhs-calculator-white);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.5px;
}

.bhs-calculator .bhs-calculator-dialog-cta {
  display: inline-flex;
  padding: 10.6px 20px;
  border-radius: 45px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.86px;
}

/* ---------- focus (not on the source; 3:1+ on every background used) ---------- */
.bhs-calculator :is(.bhs-calculator-cta, .bhs-calculator-back, .bhs-calculator-select, .bhs-calculator-counter button, .bhs-calculator-dialog-close, .bhs-calculator-disclaimer a):focus-visible {
  outline: 2px solid var(--bhs-calculator-focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .bhs-calculator .bhs-calculator-package,
  .bhs-calculator .bhs-calculator-arrow,
  .bhs-calculator .bhs-calculator-field-label {
    transition: none;
  }
}

/* forced colours: state shown by borders and text, not by background */
@media (forced-colors: active) {
  .bhs-calculator .bhs-calculator-room-input:checked + label::before {
    background: Highlight;
  }

  .bhs-calculator .bhs-calculator-package.is-selected {
    outline: 3px solid Highlight;
  }

  .bhs-calculator .bhs-calculator-cta:disabled {
    color: GrayText;
  }
}

@media (width >= 576px) {
  .bhs-calculator .bhs-calculator-dialog-box {
    max-width: 500px;
    margin: 24.5px auto;
  }
}

@media (width >= 992px) {
  .bhs-calculator .bhs-calculator-dialog-content {
    width: 541px;
  }

  .bhs-calculator .bhs-calculator-dialog-promo {
    min-height: 431px;
    background-image: var(--bhs-calculator-popup-desk, none);
  }

  .bhs-calculator .bhs-calculator-dialog-promo-heading {
    font-size: 40px;
    line-height: 44px;
  }

  .bhs-calculator .bhs-calculator-dialog-promo-text {
    font-size: 20px;
  }

  .bhs-calculator .bhs-calculator-dialog-cta {
    gap: 19px;
  }
}

/* ---------- desktop (from 993px) ---------- */
@media (width >= 993px) {
  .bhs-calculator .bhs-calculator-shell {
    background: var(--bhs-calculator-bg-image, none) center / 100% 100% no-repeat;
  }

  .bhs-calculator .bhs-calculator-container {
    position: static;
    padding: 32px 20px;
  }

  .bhs-calculator .bhs-calculator-banner {
    height: auto;
    background: none;
  }

  .bhs-calculator .bhs-calculator-title {
    max-width: none;
    margin: 0 0 20px;
    padding-top: 0;
    font-size: 32px;
    line-height: 35.2px;
  }

  .bhs-calculator .bhs-calculator-panel {
    padding: 30px 30px 44px;
    border-radius: 8px;
  }

  .bhs-calculator .bhs-calculator-step-count,
  .bhs-calculator [data-step="1"] .bhs-calculator-step-count {
    margin-bottom: 20px;
  }

  .bhs-calculator .bhs-calculator-step-heading {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 700;
    line-height: 38.4px;
  }

  .bhs-calculator [data-step="1"] .bhs-calculator-step-heading {
    margin-bottom: 44px;
    font-weight: 800;
  }

  .bhs-calculator .bhs-calculator-rooms {
    gap: 25px;
  }

  .bhs-calculator .bhs-calculator-room {
    width: calc(50% - 13px);
    max-width: 344px;
  }

  .bhs-calculator .bhs-calculator-actions {
    display: block;
    margin-top: 15px;
  }

  .bhs-calculator .bhs-calculator-actions .bhs-calculator-next {
    display: inline-flex;
    gap: 19px;
    width: max-content;
  }

  .bhs-calculator [data-step="2"] {
    padding: 0 28px 0 66px;
  }

  .bhs-calculator [data-step="2"] .bhs-calculator-step-heading {
    margin: 0 0 35px;
    font-size: 20px;
    font-weight: 800;
    line-height: normal;
  }

  .bhs-calculator .bhs-calculator-packages {
    padding: 0;
    overflow: visible;
  }

  .bhs-calculator .bhs-calculator-package {
    min-width: 0;
    margin-bottom: 0;
    overflow: visible;
  }

  .bhs-calculator .bhs-calculator-buttons {
    flex-direction: row;
    gap: 1px;
    margin: 37px 0 0 -96px;
  }

  .bhs-calculator .bhs-calculator-buttons .bhs-calculator-back {
    width: 142px;
    margin-right: 52px;
    text-align: right;
  }

  .bhs-calculator .bhs-calculator-buttons .bhs-calculator-next {
    width: auto;
    margin-right: 0;
    gap: 19px;
  }

  .bhs-calculator .bhs-calculator-step-subheading {
    margin-bottom: 20px;
  }

  .bhs-calculator .bhs-calculator-form-shell {
    padding: 0;
    background: var(--bhs-calculator-form-shell);
  }

  .bhs-calculator .bhs-calculator-form {
    padding: 30px 70px;
  }

  .bhs-calculator .bhs-calculator-row {
    display: flex;
    justify-content: space-between;
  }

  .bhs-calculator .bhs-calculator-row > .bhs-calculator-field,
  .bhs-calculator .bhs-calculator-row > .bhs-calculator-phone {
    flex: 0 1 48.5%;
  }

  .bhs-calculator .bhs-calculator-field {
    margin-bottom: 28px;
  }

  .bhs-calculator .bhs-calculator-whatsapp {
    padding-bottom: 25px;
  }

  .bhs-calculator .bhs-calculator-disclaimer {
    text-align: justify;
  }

  .bhs-calculator .bhs-calculator-form-actions {
    display: block;
    text-align: center;
  }

  .bhs-calculator .bhs-calculator-form-actions .bhs-calculator-back {
    display: inline-block;
    margin: 0 52px 0 0;
    text-align: right;
  }

  .bhs-calculator .bhs-calculator-form-actions .bhs-calculator-arrow {
    padding-right: 0;
  }

  .bhs-calculator .bhs-calculator-form-actions .bhs-calculator-back .bhs-calculator-arrow {
    width: 17px;
  }

  .bhs-calculator .bhs-calculator-submit {
    display: inline-flex;
    width: auto;
    gap: 19px;
  }

  .bhs-calculator .bhs-calculator-submit .bhs-calculator-arrow {
    width: 17px;
  }

  .bhs-calculator .bhs-calculator-dialog-title {
    margin: 40px 0;
    color: var(--bhs-calculator-black);
    font-size: 40px;
    line-height: 44px;
  }

  .bhs-calculator .bhs-calculator-dialog-close {
    margin: 10px 15px;
  }
}
