/** Hide the UX Builder header size finder column (rendered elsewhere via PHP) */
.tax-product_cat .col.large-4:has(.nbsf-entry),
.tax-product_cat .sidebar-size-finder + #block_widget-2 {
  display: none;
}

.sidebar-size-finder {
  margin-bottom: 28px;
}

.sidebar-size-finder--mobile {
  display: none;
}

@media (max-width: 849px) {
  .sidebar-size-finder--mobile {
    display: block;
    margin-bottom: 20px;
  }
}

@media (max-width: 549px) {
  .page-id-450540 .nbsf-size-page-intro,
  .page-id-24188 .nbsf-size-page-intro {
    padding: 0 18px !important;
    margin-top: 24px;
  }

  .page-id-450540 .nbsf-size-page-intro .row,
  .page-id-24188 .nbsf-size-page-intro .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .page-id-450540 .nbsf-size-page-intro .col,
  .page-id-24188 .nbsf-size-page-intro .col {
    padding-left: 0;
    padding-right: 0;
  }
}

.nbsf-entry {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background-color: rgba(204, 173, 101, 0.1);
  border: 1px solid var(--gold);
}

.nbsf-entry__header {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.nbsf-entry__title-row {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.nbsf-entry__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.nbsf-entry__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: var(--black);
}

.nbsf-entry__description {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--black);
}

.nbsf-entry__button.button {
  width: 100%;
  margin: 0;
  color: var(--black);
  background-color: var(--gold);
  border-radius: 130px;
}

.nbsf-entry__button.button:hover,
.nbsf-entry__button.button:focus {
  color: var(--black);
  background-color: var(--gold);
  box-shadow: none;
}

.nbsf-entry__initial {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
}

.nbsf-entry.has-result .nbsf-entry__initial {
  display: none;
}

.nbsf-entry__result {
  display: none;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.nbsf-entry.has-result .nbsf-entry__result {
  display: flex;
}

.nbsf-entry__result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nbsf-entry__clear {
  min-height: 0;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
  color: var(--black);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-transform: uppercase;
  background: none;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  letter-spacing: 0;
  flex-shrink: 0;
}

.nbsf-entry__divider {
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--border-color);
  opacity: 1;
}

.nbsf-entry__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.nbsf-entry__label {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  color: var(--black);
}

.nbsf-entry__values {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0;
  column-gap: 9px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--black);
}

.nbsf-entry__values [data-nbsf-result-width],
.nbsf-entry__values [data-nbsf-result-height],
.nbsf-steps__summary-value,
.nbsf-slider__min,
.nbsf-slider__max {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nbsf-fraction {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: middle;
}

.nbsf-fraction__numerator,
.nbsf-fraction__denominator {
  display: inline-block;
  font-size: 0.68em;
  line-height: 1;
}

.nbsf-fraction__numerator {
  transform: translateY(-0.34em);
}

.nbsf-fraction__slash {
  display: inline-block;
  margin: 0 -0.04em;
  font-size: 0.86em;
  line-height: 1;
  transform: translateY(-0.02em);
}

.nbsf-fraction__denominator {
  transform: translateY(0.24em);
}

.nbsf-entry__size {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--black);
}

.nbsf-entry__actions {
  display: flex;
  align-items: center;
  width: 100%;
}

.nbsf-entry__edit-button.button {
  margin: 0;
  padding: 12px 20px;
  line-height: 1.2;
  color: var(--black);
  background: none;
  border: 2px solid var(--gold);
  border-radius: 130px;
}

.nbsf-entry__edit-button.button:hover,
.nbsf-entry__edit-button.button:focus {
  color: var(--black);
  background-color: var(--gold);
  box-shadow: none;
}

.nbsf-entry__result-body {
  display: contents;
}

.nbsf-entry__toggle {
  display: none;
}

.nbsf-entry__clear-all {
  display: none;
}

.nbsf-banner {
  display: none;
  flex-direction: column;
  gap: 11px;
  width: 100%;
  margin-bottom: 35px;
}

.nbsf-banner.is-visible {
  display: flex;
}

.nbsf-banner__heading {
  margin: 0;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 700;
  line-height: 35px;
  color: var(--black);
  text-transform: none;
  letter-spacing: 0;
}

.nbsf-banner__description {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  color: var(--black);
}

.nbsf-banner__alt {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 3px;
  padding: 10px 16px;
  background-color: rgba(81, 139, 197, 0.1);
}

.nbsf-banner__alt[hidden] {
  display: none;
}

.nbsf-banner--no-size .nbsf-banner__heading-prefix,
.nbsf-banner--no-size .nbsf-banner__heading-suffix,
.nbsf-entry--no-size .nbsf-entry__recommendation .nbsf-entry__label {
  display: none;
}

.nbsf-banner__alt-text {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--black);
}

.nbsf-banner__alt-text strong {
  font-weight: 700;
}

.nbsf-banner__alt-link {
  flex-shrink: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  color: var(--black);
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.nbsf-banner__alt-link:hover,
.nbsf-banner__alt-link:focus {
  color: var(--black);
}

.nbsf-banner__alt--mobile {
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: 16px;
}

@media (min-width: 850px) {
  .nbsf-banner__alt--mobile {
    display: none;
  }
}

@media (max-width: 849px) {
  .nbsf-banner .nbsf-banner__alt:not(.nbsf-banner__alt--mobile) {
    display: none;
  }
}

.nbsf-flyout {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}

.nbsf-flyout.is-open {
  visibility: visible;
  pointer-events: auto;
}

.nbsf-flyout__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nbsf-flyout.is-open .nbsf-flyout__backdrop {
  opacity: 1;
}

.nbsf-flyout__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 569px;
  max-width: 100%;
  height: 100%;
  background-color: var(--white);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.nbsf-flyout.is-open .nbsf-flyout__panel {
  transform: translateX(0);
}

.nbsf-flyout__header {
  flex-shrink: 0;
  height: 71px;
  padding: 0 27px;
  background-color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.nbsf-flyout__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nbsf-flyout__heading {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nbsf-flyout__header-icon {
  width: 25px;
  height: 25px;
}

.nbsf-flyout .nbsf-flyout__title {
  margin: 0;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 700;
  line-height: 35px;
  color: var(--black);
  text-transform: none;
  letter-spacing: 0;
}

.nbsf-flyout__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-height: 0;
  padding: 0;
  color: var(--black);
  background: none;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  margin: 0;
}

.nbsf-flyout__close svg {
  display: block;
  width: 18px;
  height: 18px;
}

.nbsf-flyout__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 30px;
  padding: 22px 30px 45px;
  overflow-y: auto;
}

.nbsf-flyout__intro {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 26px;
  color: var(--black);
}

.nbsf-flyout__intro--mobile {
  display: none;
}

.nbsf-steps {
  position: relative;
  display: flex;
  gap: 51px;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nbsf-steps .nbsf-steps__item,
.nbsf-steps .nbsf-steps__connector {
  margin: 0;
}

.nbsf-steps__item {
  position: relative;
  z-index: 1;
  flex: 0 0 130px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.nbsf-steps__circle {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: #555;
}

.nbsf-steps__item.is-active .nbsf-steps__circle {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.nbsf-steps__item.is-complete .nbsf-steps__circle {
  background-color: var(--white);
  border-color: var(--gold);
  color: var(--black);
}

.nbsf-steps__number {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.nbsf-steps__check {
  display: none;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.nbsf-steps__check svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nbsf-steps__item.is-complete .nbsf-steps__check {
  display: flex;
}

.nbsf-steps__item.is-complete .nbsf-steps__number {
  display: none;
}

.nbsf-steps__label {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--black);
  text-transform: uppercase;
  white-space: nowrap;
}

.nbsf-steps__item:not(.is-active) .nbsf-steps__label {
  color: #555;
}

.nbsf-steps__summary {
  display: none;
  gap: 10px;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 16px;
  color: #555;
  margin-top: -8px;
}

.nbsf-steps__item.is-complete .nbsf-steps__summary {
  display: flex;
}

.nbsf-flyout .nbsf-steps__edit,
.nbsf-inline .nbsf-steps__edit {
  min-height: 0;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #555;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: underline;
  background: none;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}

.nbsf-steps__connector {
  position: absolute;
  top: 20px;
  left: calc(50% - 1px);
  z-index: 0;
  width: 142px;
  height: 2px;
  margin: 0;
  background-color: var(--border-color);
  list-style: none;
  transform: translateX(-50%);
}

.nbsf-steps__item.is-complete + .nbsf-steps__connector {
  background-color: #e5d5a9;
}

.nbsf-divider {
  display: block;
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--border-color);
  opacity: 1;
}

.nbsf-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 30px;
}

.nbsf-step {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  position: relative;
}

.nbsf-step[hidden] {
  display: none;
}

.nbsf-flyout .nbsf-step__back,
.nbsf-inline .nbsf-step__back {
  position: absolute;
  top: -20px;
  left: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 0;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  color: #555;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}

.nbsf-step__back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 14px;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-1px);
}

.nbsf-step__back-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nbsf-flyout .nbsf-step__title,
.nbsf-inline .nbsf-step__title {
  margin: 0 0 -10px;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 700;
  line-height: 35px;
  color: var(--black);
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}

.nbsf-step__description {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 26px;
  color: var(--black);
  text-align: center;
}

.nbsf-step__illustration {
  width: 100%;
  max-width: 451px;
}

.nbsf-step__illustration img {
  display: block;
  width: 100%;
  height: auto;
}

.nbsf-unit-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 3px;
  border: 2px solid #555;
  border-radius: 100px;
}

.nbsf-flyout .nbsf-unit-toggle__option,
.nbsf-inline .nbsf-unit-toggle__option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 27px;
  margin: 0;
  padding: 0 20px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0;
  background: none;
  border: 0;
  border-radius: 130px;
  box-shadow: none;
  cursor: pointer;
}

.nbsf-flyout .nbsf-unit-toggle__option.is-active,
.nbsf-inline .nbsf-unit-toggle__option.is-active {
  color: var(--white);
  background-color: #555;
}

.nbsf-number {
  display: flex;
  align-items: stretch;
  width: 251px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.nbsf-flyout .nbsf-number__btn,
.nbsf-inline .nbsf-number__btn {
  flex: 0 0 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--black);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}

.nbsf-flyout .nbsf-number__input,
.nbsf-inline .nbsf-number__input {
  flex: 1;
  min-width: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 14px 0;
  font-family: Arial, "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 37px;
  font-weight: 400;
  line-height: 45px;
  color: var(--black);
  -webkit-text-fill-color: var(--black);
  opacity: 1;
  text-align: center;
  background: none;
  border: 0;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-radius: 0;
  outline: none;
  box-shadow: none;
  -moz-appearance: textfield;
}

@media only screen and (max-width: 600px) {
  .nbsf-flyout .nbsf-number__input {
    padding: 5px 0;
  }
}

.nbsf-number__input::-webkit-outer-spin-button,
.nbsf-number__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.nbsf-slider {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 379px;
  max-width: 100%;
}

.nbsf-slider__input {
  --nbsf-fill: 0%;
  width: 100%;
  height: 13px;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #555 0, #555 var(--nbsf-fill), var(--white) var(--nbsf-fill), var(--white) 100%);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.nbsf-slider__input::-webkit-slider-runnable-track {
  height: 13px;
  background: transparent;
  border: 0;
  border-radius: 100px;
}

.nbsf-slider__input::-moz-range-track {
  height: 13px;
  background: transparent;
  border: 0;
  border-radius: 100px;
}

.nbsf-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 21px;
  height: 21px;
  margin-top: -5px;
  background-color: #555;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nbsf-slider__input::-moz-range-thumb {
  width: 21px;
  height: 21px;
  background-color: #555;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nbsf-slider__bounds {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 21px;
  color: var(--black);
}

.nbsf-slider__min,
.nbsf-slider__max {
  position: relative;
  padding-top: 10px;
}

.nbsf-slider__min::before,
.nbsf-slider__max::before {
  content: "";
  position: absolute;
  top: -6px;
  width: 1px;
  height: 12px;
  background-color: #bebebe;
}

.nbsf-slider__min::before {
  left: 0;
}

.nbsf-slider__max::before {
  right: 0;
}

.nbsf-step__cta.button {
  width: 325px;
  max-width: 100%;
  padding: 4px 20px;
  margin: 5px 0 0;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  background-color: var(--gold);
  border-radius: 130px;
}

.nbsf-step__cta.button:hover,
.nbsf-step__cta.button:focus {
  color: var(--black);
  background-color: var(--gold);
  box-shadow: none;
}

.nbsf-flyout__footer {
  flex-shrink: 0;
  padding: 15px 30px;
  background-color: rgba(204, 173, 101, 0.2);
}

.nbsf-flyout__help {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 22px;
  color: var(--black);
  text-align: center;
}

.nbsf-flyout__help strong {
  font-weight: 700;
}

.nbsf-flyout__help a {
  font-weight: 700;
  color: var(--black);
  text-decoration: underline;
}

.nbsf-flyout__help-mobile {
  display: none;
}

.nbsf-flyout__help-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 22px;
  color: var(--black);
  text-align: center;
  background: none;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  text-transform: initial;
  letter-spacing: initial;
}

.nbsf-flyout__help-expanded {
  display: none;
  position: relative;
  padding-right: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nbsf-flyout__footer.is-help-open .nbsf-flyout__help-trigger {
  display: none;
}

.nbsf-flyout__footer.is-help-open .nbsf-flyout__help-expanded {
  display: block;
}

.nbsf-flyout__help-expanded p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 22px;
  color: var(--black);
}

.nbsf-flyout__help-expanded a {
  font-weight: 700;
  color: var(--black);
  text-decoration: underline;
}

.nbsf-flyout__help-close {
  position: absolute;
  top: 5px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--black);
  background: none;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}

.nbsf-flyout__help-close svg {
  display: block;
  width: 14px;
  height: 14px;
}

/* ---------------------------------------------------------------------------
 * Wrapper transparency for the flyout: keep the flat flex-column layout that
 * existed before the partial extraction. Inline overrides this below.
 * ------------------------------------------------------------------------- */
.nbsf-flyout .nbsf-step__media,
.nbsf-flyout .nbsf-step__controls {
  display: contents;
}

/* ---------------------------------------------------------------------------
 * Inline calculator (size finder page tabs)
 * ------------------------------------------------------------------------- */

.nbsf-inline {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--white);
}

.nbsf-inline__body {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 22px 30px 30px;
}

.nbsf-inline .nbsf-step {
  flex-direction: row;
  gap: 85px;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
}

.nbsf-inline .nbsf-step__media {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  max-width: 393px;
}

.nbsf-inline .nbsf-step__controls {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  max-width: 393px;
}

.nbsf-inline .nbsf-step__cta.button {
  margin-top: 7px;
}

.nbsf-inline .nbsf-step__back {
  position: absolute;
  top: 0;
  left: 0;
}

.nbsf-inline__footer {
  padding: 10px 30px;
  background-color: rgba(204, 173, 101, 0.2);
}

.nbsf-inline__help {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 22px;
  color: var(--black);
  text-align: center;
}

.nbsf-inline__help strong {
  font-weight: 700;
}

.nbsf-inline__help a {
  font-weight: 700;
  color: var(--black);
  text-decoration: underline;
}

@media (max-width: 849px) {
  .nbsf-inline .nbsf-step {
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
  }

  .nbsf-inline .nbsf-step__media,
  .nbsf-inline .nbsf-step__controls {
    max-width: 100%;
  }

  .nbsf-inline__body {
    padding: 18px 18px 24px;
  }

  .nbsf-inline__footer {
    padding: 10px 18px;
  }
}

@media (max-width: 600px) {
  .nbsf-flyout__panel {
    max-width: calc(100% - 40px);
  }

  .nbsf-flyout__header {
    height: 54px;
  }

  .nbsf-flyout .nbsf-flyout__title {
    font-size: 23px;
    line-height: 27px;
  }

  .nbsf-flyout__body {
    padding: 19px 20px 30px;
    gap: 25px;
  }

  .nbsf-steps {
    gap: 0;
  }

  .nbsf-steps__item {
    flex: 1 1 0;
    min-width: 0;
  }

  .nbsf-steps__circle {
    width: 37px;
    height: 37px;
  }

  .nbsf-steps__connector {
    top: 18px;
    left: 50%;
    width: calc(50% - 37px);
  }

  .nbsf-steps__number {
    font-size: 17.6px;
  }

  .nbsf-steps__summary {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 8px;
    line-height: 1.3;
    text-align: center;
  }

  .nbsf-flyout .nbsf-step__title {
    font-size: 23px;
    line-height: 27px;
  }

  .nbsf-step__cta.button {
    width: 100%;
    padding: 0px 20px;
  }

  .nbsf-flyout .nbsf-step__back,
  .nbsf-inline .nbsf-step__back {
    display: none;
  }

  .nbsf-flyout__intro--desktop {
    display: none;
  }

  .nbsf-flyout__intro--mobile {
    display: block;
  }

  .nbsf-flyout__help {
    display: none;
  }

  .nbsf-flyout__help-mobile {
    display: block;
  }

  .nbsf-flyout__footer {
    padding: 5px 15px;
  }

  .nbsf-entry__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    background: none;
    border: 0;
    box-shadow: none;
    cursor: pointer;
  }

  .nbsf-entry__toggle-icon {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
  }

  .nbsf-entry__toggle-icon::before,
  .nbsf-entry__toggle-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--black);
  }

  .nbsf-entry__toggle-icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
  }

  .nbsf-entry__toggle-icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
  }

  .nbsf-entry__result.is-expanded .nbsf-entry__toggle-icon::after {
    transform: translate(-50%, -50%) scaleY(0);
  }

  .nbsf-entry__clear {
    display: none;
  }

  .nbsf-entry__result-body {
    display: none;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .nbsf-entry__result.is-expanded .nbsf-entry__result-body {
    display: flex;
  }

  .nbsf-entry__clear-all {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 26px;
    color: var(--black);
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-transform: uppercase;
    background: none;
    border: 0;
    box-shadow: none;
    cursor: pointer;
    letter-spacing: 0;
    flex-shrink: 0;
  }

  .nbsf-entry__actions {
    justify-content: space-between;
  }
}

@media (max-width: 600px) and (max-height: 800px) {
  .nbsf-flyout__body {
    padding: 10px 20px 12px;
    gap: 12px;
  }

  .nbsf-form {
    gap: 20px;
  }

  .nbsf-steps__circle {
    width: 32px;
    height: 32px;
  }

  .nbsf-steps__connector {
    top: 16px;
    width: calc(50% - 32px);
  }

  .nbsf-steps__number {
    font-size: 16px;
  }

  .nbsf-steps__label {
    font-size: 13px;
  }

  .nbsf-step {
    gap: 12px;
  }

  .nbsf-flyout .nbsf-step__title {
    margin: 0;
    font-size: 21px;
    line-height: 25px;
  }

  .nbsf-step__description {
    line-height: 22px;
  }

  .nbsf-step__illustration {
    max-height: 80px;
  }

  .nbsf-step__illustration img {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
  }

  .nbsf-unit-toggle {
    padding: 1px 2px;
  }

  .nbsf-flyout .nbsf-unit-toggle__option {
    height: 24px;
    padding: 0 16px;
    font-size: 14px;
  }

  .nbsf-number {
    margin-bottom: 0;
  }

  .nbsf-flyout .nbsf-number__input {
    padding: 2px 0;
    font-size: 30px;
    line-height: 36px;
  }

  .nbsf-flyout .nbsf-number__btn {
    font-size: 24px;
  }

  .nbsf-slider__bounds {
    margin-top: 4px;
    font-size: 14px;
    line-height: 18px;
  }

  .nbsf-flyout__footer {
    padding: 3px 15px;
  }
}
