/**
 * Hero calculator section styles.
 * SCSS: assets/css/section/hero-calculator.scss
 * CSS (compiled by IDE): assets/css/section/hero-calculator.css
 */
.hero-calculator {
  margin-top: var(--block-section-spacing-top, var(--section-spacing-top, 40px));
  margin-bottom: var(--block-section-spacing-bottom, var(--section-spacing-bottom, 40px));
  color: var(--hero-calculator-text, var(--text-color, #fff));
  padding: 28px 0;
  border-radius: var(--block-border-radius, 10px);
  background-color: var(--hero-calculator-section-bg, var(--block-bg, #211442));
  background-image: var(--hero-calculator-section-image, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.hero-calculator--no-section-bg {
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.hero-calculator__placeholder {
  margin: 0;
  color: var(--hero-calculator-text, var(--text-color, #fff));
  font-size: var(--block-body-font-size, var(--content-body-font-size, 16px));
}
.hero-calculator__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.hero-calculator--has-visual .hero-calculator__inner {
  justify-content: space-between;
}
.hero-calculator__card {
  width: 100%;
  max-width: 560px;
  padding: 28px 24px;
  border-radius: var(--block-border-radius, 10px);
  background: var(--hero-calculator-card-bg, var(--block-bg, #211442));
  box-shadow: 0 4px 18px color-mix(in srgb, var(--text-color, #fff) 12%, transparent);
}
.hero-calculator--has-visual .hero-calculator__card {
  flex: 1 1 420px;
}
.hero-calculator--no-item-bg .hero-calculator__card {
  background: transparent;
  box-shadow: none;
}
.hero-calculator__title, .editor-styles-wrapper .hero-calculator .hero-calculator__title, .acf-block-preview .hero-calculator .hero-calculator__title {
  margin: 0 0 22px;
  color: var(--hero-calculator-text, var(--color-for-titles, var(--text-color, #fff)));
  font-size: var(--block-title-font-size, var(--hero-calculator-title-size, var(--content-h2-font-size, 32px)));
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-transform: capitalize;
}
.hero-calculator__amount {
  margin-bottom: 16px;
}
.hero-calculator__field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--button-bg, #fff) 45%, transparent);
  border-radius: var(--button-border-radius, 10px);
  background: color-mix(in srgb, var(--button-bg, #fff) 14%, transparent);
}
.hero-calculator__field:focus-within {
  border-color: var(--button-bg, #fff);
}
.hero-calculator__currency {
  color: var(--button-bg, #fff);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.hero-calculator__input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hero-calculator-text, var(--text-color, #fff));
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  appearance: textfield;
}
.hero-calculator__input:focus {
  outline: none;
}
.hero-calculator__input::placeholder {
  color: color-mix(in srgb, var(--hero-calculator-text, var(--text-color, #fff)) 55%, transparent);
}
.hero-calculator__input::-webkit-outer-spin-button, .hero-calculator__input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.hero-calculator__presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.hero-calculator__preset {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--button-bg, #fff) 48%, transparent);
  border-radius: var(--button-border-radius, 10px);
  background: color-mix(in srgb, var(--button-bg, #fff) 16%, transparent);
  color: var(--hero-calculator-text, var(--text-color, #fff));
  font-size: var(--block-body-font-size, var(--content-body-font-size, 14px));
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.hero-calculator__preset:hover {
  border-color: var(--hero-calculator-btn-bg, var(--button-bg, #fff));
}
.hero-calculator__preset-active, .hero-calculator__preset-active:hover {
  border-color: var(--hero-calculator-btn-bg, var(--button-bg, #fff));
  background: var(--hero-calculator-btn-bg, var(--button-bg, #fff));
  color: var(--hero-calculator-btn-color, var(--button-text-color, #000));
}
.hero-calculator__submit.button, .editor-styles-wrapper .hero-calculator .hero-calculator__submit.button, .acf-block-preview .hero-calculator .hero-calculator__submit.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--button-border-radius, 10px);
  background: var(--hero-calculator-btn-bg, var(--button-bg, #fff));
  color: var(--hero-calculator-btn-color, var(--button-text-color, #000));
  font-size: var(--block-button-font-size, var(--button-font-size, 16px));
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.hero-calculator__submit.button:hover:not(:disabled):not(.hero-calculator__submit-disabled) {
  background: var(--hero-calculator-btn-bg, var(--button-bg, #fff));
  color: var(--hero-calculator-btn-color, var(--button-text-color, #000));
}
.hero-calculator__submit:disabled, .hero-calculator__submit-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.hero-calculator__note {
  margin-top: 14px;
  color: var(--hero-calculator-text, var(--text-color, #fff));
  font-size: var(--block-body-font-size, var(--content-body-font-size, 14px));
  line-height: 1.45;
  text-align: center;
}
.hero-calculator__note p,
.hero-calculator__note li,
.hero-calculator__note span,
.hero-calculator__note strong,
.hero-calculator__note em {
  color: inherit;
}
.hero-calculator__note p {
  margin: 0 0 6px;
  font-size: inherit;
}
.hero-calculator__note p:last-child {
  margin-bottom: 0;
}
.hero-calculator__note a {
  color: inherit;
  text-decoration: underline;
}
.hero-calculator__visual {
  flex: 1 1 280px;
  display: flex;
  justify-content: center;
}
.hero-calculator__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--block-border-radius, 10px);
}

@media screen and (max-width: 992px) {
  .hero-calculator--has-visual .hero-calculator__visual {
    display: none;
  }
  .hero-calculator__card,
  .hero-calculator--has-visual .hero-calculator__card {
    max-width: none;
  }
  .hero-calculator__image {
    max-height: 280px;
  }
}
@media screen and (max-width: 768px) {
  .hero-calculator__title,
  .editor-styles-wrapper .hero-calculator .hero-calculator__title,
  .acf-block-preview .hero-calculator .hero-calculator__title {
    margin-bottom: 16px;
    font-size: var(--block-title-font-size-mobile, var(--hero-calculator-title-size-mobile, var(--block-title-font-size, var(--hero-calculator-title-size, var(--content-h2-font-size, 24px)))));
  }
  .hero-calculator__note {
    font-size: var(--block-body-font-size-mobile, var(--block-body-font-size, var(--content-body-font-size, 14px)));
  }
  .hero-calculator .hero-calculator__submit.button,
  .editor-styles-wrapper .hero-calculator .hero-calculator__submit.button,
  .acf-block-preview .hero-calculator .hero-calculator__submit.button {
    font-size: var(--block-button-font-size-mobile, var(--block-button-font-size, var(--button-font-size, 14px)));
  }
}
@media screen and (max-width: 568px) {
  .hero-calculator__card {
    padding: 22px 16px;
  }
  .hero-calculator__input {
    min-height: 46px;
    font-size: 24px;
  }
}

/*# sourceMappingURL=hero-calculator.css.map */
