
.grmc,
.grmc * {
  box-sizing: border-box;
}

.grmc {
  --grmc-accent: #be2429;
  --grmc-dark: #241f1f;
  --grmc-top-bg: #f7f7f7;
  --grmc-bottom-bg: #241f1f;
  --grmc-divider-color: rgba(255, 255, 255, 0.22);
  --grmc-divider-width: 1px;
  --grmc-border: #9a9a9a;
  --grmc-text: #241f1f;
  --grmc-muted: #666;
  width: 100%;
  color: var(--grmc-text);
  font-family: inherit;
}

.grmc__top-section {
  width: 100%;
  background: var(--grmc-top-bg);
}

.grmc__form-wrap {
  width: 100%;
  max-width: var(--grmc-top-width, 1400px);
  margin: 0 auto;
  padding:
    var(--grmc-top-pt, 58px)
    var(--grmc-top-pr, 92px)
    var(--grmc-top-pb, 72px)
    var(--grmc-top-pl, 92px);
}

.grmc__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(54px, 7vw, 125px);
  row-gap: 34px;
}

.grmc__field label,
.grmc__terms legend {
  display: block;
  margin: 0 0 14px;
  padding: 0;
  color: var(--grmc-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.grmc__input {
  width: 100%;
  height: 43px;
  min-height: 43px;
  border: 1px solid var(--grmc-border);
  border-radius: 0;
  background: #fff;
  color: var(--grmc-text);
  font: inherit;
  font-size: 16px;
  line-height: 1;
  outline: none;
  box-shadow: none;
  transition: border-color .2s ease;
}

.grmc__input:focus {
  border-color: var(--grmc-accent);
  box-shadow: none;
}

.grmc__money-input,
.grmc__suffix-input {
  position: relative;
  display: flex;
  align-items: center;
}


.grmc__dropdown {
  position: relative;
  z-index: 5;
}

.grmc__dropdown.is-open {
  z-index: 30;
}

.grmc__dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 54px;
  min-height: 43px;
  padding: 0 52px 0 14px;
  border: 1px solid var(--grmc-border) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--grmc-text) !important;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-align: left;
  box-shadow: none !important;
  cursor: pointer;
}

.grmc__dropdown-toggle:hover,
.grmc__dropdown-toggle:focus,
.grmc__dropdown-toggle:active {
  border-color: var(--grmc-border) !important;
  background: #fff !important;
  color: var(--grmc-text) !important;
  box-shadow: none !important;
}

.grmc__dropdown-chevron {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--grmc-accent);
  border-bottom: 2px solid var(--grmc-accent);
  transform: translateY(-72%) rotate(45deg);
  transition: transform .2s ease;
}

.grmc__dropdown.is-open .grmc__dropdown-chevron {
  transform: translateY(-30%) rotate(225deg);
}

.grmc__dropdown-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
  max-height: 230px;
  overflow-y: auto;
  border: 1px solid #c7c7c7;
  background: #fff;
  box-shadow: 0 3px 7px rgba(0,0,0,.08);
}

.grmc__dropdown.is-open .grmc__dropdown-menu {
  display: block;
}

.grmc__dropdown-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #4d4d4d !important;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  box-shadow: none !important;
  cursor: pointer;
}

.grmc__dropdown-option:last-child {
  border-bottom: 0 !important;
}

.grmc__dropdown-option:hover,
.grmc__dropdown-option:focus {
  background: #f7f7f7 !important;
  color: #252525 !important;
}

.grmc__option-radio {
  position: relative;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  border: 1px solid #6d6d6d;
  border-radius: 50%;
  background: #fff;
}

.grmc__dropdown-option.is-selected .grmc__option-radio {
  border-color: var(--grmc-accent);
  background: var(--grmc-accent);
}

.grmc__dropdown-option.is-selected .grmc__option-radio::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.grmc__dropdown-menu--scroll {
  max-height: 260px;
}

.grmc__money-input > span,
.grmc__suffix-input > span {
  position: absolute;
  z-index: 2;
  color: var(--grmc-muted);
  pointer-events: none;
  font-size: 17px;
}

.grmc__money-input > span {
  left: 20px;
}

.grmc__money-input .grmc__input {
  padding: 0 20px 0 38px;
}

.grmc__suffix-input > span {
  right: 20px;
}

.grmc__suffix-input .grmc__input {
  padding: 0 46px 0 20px;
}

.grmc__down-grid {
  display: grid;
  grid-template-columns: minmax(90px, .62fr) minmax(155px, 1.38fr);
  gap: 10px;
}

.grmc__terms {
  margin: 36px 0 0;
  padding: 0;
  border: 0;
}

.grmc__terms legend {
  margin-bottom: 18px;
}

.grmc__term-options {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.grmc__term {
  position: relative;
  width: 110px;
  cursor: pointer;
}

.grmc__term input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.grmc__term span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px 0 22px;
  border: 1px solid var(--grmc-border);
  background: #fff;
  color: var(--grmc-text);
  font-size: 14px;
  line-height: 1;
  transition: border-color .2s ease;
}

.grmc__term span::after {
  content: "";
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-left: 16px;
  border: 1px solid #292929;
  border-radius: 50%;
  background: #fff;
}

.grmc__term input:checked + span {
  border-color: var(--grmc-border);
}

.grmc__term input:checked + span::after {
  border-color: var(--grmc-accent);
  background: var(--grmc-accent);
}

.grmc__term input:checked + span::before {
  content: "";
  position: absolute;
  right: 27px;
  top: 50%;
  z-index: 2;
  width: 12.188px;
  height: 7.697px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: translateY(-64%) rotate(-45deg);
  pointer-events: none;
}

.grmc__term input:focus-visible + span {
  outline: 2px solid var(--grmc-accent);
  outline-offset: 3px;
}

.grmc__errors {
  min-height: 24px;
  margin-top: 18px;
  color: #b00020;
  font-weight: 600;
}

.grmc__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px 56px;
  margin-top: 46px;
}

.grmc .grmc__button,
.grmc button.grmc__button,
.elementor .grmc button.grmc__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 57px;
  padding: 7px 62px 7px 21px;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  border: 0 !important;
  border-radius: 0 !important;
  background: #BE2429 !important;
  background-color: #BE2429 !important;
  background-image: none !important;
  color: #fff !important;
  text-decoration: none !important;
  font: inherit;
  font-size: 22px;
  line-height: 1.2;
  box-shadow: none !important;
  cursor: pointer;
}

.grmc .grmc__button > span:first-child {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: #fff !important;
  background: transparent !important;
}

.grmc .grmc__button-arrow {
  position: absolute;
  top: 7px;
  right: 8px;
  display: block;
  width: 43px;
  height: 43px;
  overflow: hidden;
  border: 0 !important;
  background-color: #D6363B !important;
  background-image: url("https://grstagingapp6a4f1f877cf1d.cloud.bunnyroute.com/wp-content/uploads/2026/07/arrow-button.png") !important;
  background-repeat: no-repeat !important;
  background-size: 70px auto !important;
  background-position: -36px center !important;
  color: transparent !important;
  font-size: 0;
  line-height: 0;
  transition: background-position 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.grmc .grmc__button:hover,
.grmc .grmc__button:focus,
.grmc .grmc__button:focus-visible,
.grmc .grmc__button:active,
.elementor .grmc button.grmc__button:hover,
.elementor .grmc button.grmc__button:focus,
.elementor .grmc button.grmc__button:active {
  border: 0 !important;
  background: #BE2429 !important;
  background-color: #BE2429 !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none;
}

.grmc .grmc__button:hover .grmc__button-arrow,
.grmc .grmc__button:focus-visible .grmc__button-arrow {
  background-position: 12px center !important;
}

.grmc__reset {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 2px;
  background: transparent;
  color: var(--grmc-accent);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  line-height: 1.1;
}

.grmc__bottom-section {
  width: 100%;
  background: var(--grmc-bottom-bg);
  color: #fff;
}

.grmc__result-main-wrap,
.grmc__privacy-wrap {
  width: 100%;
  max-width: var(--grmc-bottom-width, 1400px);
  margin: 0 auto;
}

.grmc__result-main-wrap {
  padding:
    var(--grmc-bottom-pt, 47px)
    var(--grmc-bottom-pr, 92px)
    34px
    var(--grmc-bottom-pl, 92px);
}

.grmc__result-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.grmc__result-title {
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.grmc__result-main strong {
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

.grmc__per-month {
  display: none;
}

.grmc__full-divider {
  width: 100%;
  height: var(--grmc-divider-width);
  background: var(--grmc-divider-color);
}

.grmc__privacy-wrap {
  padding:
    29px
    var(--grmc-bottom-pr, 92px)
    var(--grmc-bottom-pb, 48px)
    var(--grmc-bottom-pl, 92px);
}

.grmc__summary {
  display: none;
}

.grmc__disclaimer {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.55;
  opacity: .95;
}

.grmc--invalid .grmc__input[aria-invalid="true"] {
  border-color: #b00020;
}

.grmc--invalid .grmc__errors:not(:empty) {
  padding: 10px 12px;
  border-left: 3px solid #b00020;
  background: rgba(176, 0, 32, .06);
}

@media (max-width: 1100px) {
  .grmc__grid {
    column-gap: 34px;
  }

  .grmc__term {
    width: calc(20% - 20px);
    min-width: 150px;
  }
}

@media (max-width: 900px) {
  .grmc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grmc__term {
    width: calc(33.333% - 16px);
  }
}

@media (max-width: 767px) {
  .grmc__form-wrap {
    padding-top: 36px;
    padding-bottom: 44px;
    padding-left: min(var(--grmc-top-pl, 20px), 24px);
    padding-right: min(var(--grmc-top-pr, 20px), 24px);
  }

  .grmc__grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .grmc__field label,
  .grmc__terms legend {
    font-size: 19px;
  }

  .grmc__down-grid {
    grid-template-columns: 1fr 1.4fr;
  }

  .grmc__terms {
    margin-top: 36px;
  }

  .grmc__term-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .grmc__term {
    width: 100%;
    min-width: 0;
  }

  .grmc__term span {
    padding-left: 16px;
    font-size: 16px;
  }

  .grmc__actions {
    margin-top: 38px;
    gap: 24px;
  }

  .grmc .grmc__button {
    min-height: 57px;
    padding: 7px 62px 7px 21px;
    font-size: 18px;
  }

  .grmc__reset {
    font-size: 17px;
  }

  .grmc__result-main-wrap,
  .grmc__privacy-wrap {
    padding-left: min(var(--grmc-bottom-pl, 20px), 24px);
    padding-right: min(var(--grmc-bottom-pr, 20px), 24px);
  }

  .grmc__result-main-wrap {
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .grmc__privacy-wrap {
    padding-top: 24px;
    padding-bottom: 34px;
  }

  .grmc__result-title,
  .grmc__result-main strong {
    font-size: clamp(34px, 10vw, 46px);
  }
}

@media (max-width: 460px) {
  .grmc__down-grid,
  .grmc__term-options {
    grid-template-columns: 1fr;
  }

  .grmc__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .grmc__button {
    width: 100%;
    justify-content: space-between;
  }
}


/* v1.6.2 — exact typography and input visibility fixes */
.grmc .grmc__field label,
.grmc .grmc__terms legend {
  font-size: 22px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: normal !important;
}

.grmc .grmc__down-grid {
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.55fr) !important;
  gap: 20px !important;
}

.grmc .grmc__down-grid > *,
.grmc .grmc__suffix-input,
.grmc .grmc__money-input,
.grmc .grmc__input {
  min-width: 0 !important;
}

.grmc .grmc__suffix-input .grmc__input[data-grmc="down-percent"] {
  width: 100% !important;
  padding: 0 58px 0 38px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  font-size: 22px !important;
  line-height: normal !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

.grmc .grmc__suffix-input .grmc__input[data-grmc="down-percent"]::-webkit-inner-spin-button,
.grmc .grmc__suffix-input .grmc__input[data-grmc="down-percent"]::-webkit-outer-spin-button {
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.grmc .grmc__suffix-input:has(.grmc__input[data-grmc="down-percent"]) > span {
  right: 36px !important;
  font-size: 22px !important;
  line-height: normal !important;
}

.grmc .grmc__money-input .grmc__input[data-grmc="down-amount"] {
  padding-left: 74px !important;
  font-size: 22px !important;
  line-height: normal !important;
}

.grmc .grmc__money-input:has(.grmc__input[data-grmc="down-amount"]) > span {
  left: 38px !important;
  font-size: 22px !important;
  line-height: normal !important;
}

.grmc .grmc__term span {
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 25px !important;
}

.grmc .grmc__reset,
.grmc button.grmc__reset,
.elementor .grmc button.grmc__reset {
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  padding: 0 0 2px !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--grmc-accent) !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 26.4px !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.grmc .grmc__reset:hover,
.grmc .grmc__reset:focus,
.grmc .grmc__reset:active,
.elementor .grmc button.grmc__reset:hover,
.elementor .grmc button.grmc__reset:focus,
.elementor .grmc button.grmc__reset:active {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--grmc-accent) !important;
  border-bottom-color: currentColor !important;
  box-shadow: none !important;
}

.grmc .grmc__result-title {
  color: #fff !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: normal !important;
}

.grmc .grmc__result-main strong {
  color: #fff !important;
  font-size: 55px !important;
  font-style: normal !important;
  font-weight: 300 !important;
  line-height: normal !important;
}

.grmc .grmc__disclaimer {
  color: #fff !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 19px !important;
  opacity: 1 !important;
}

@media (max-width: 767px) {
  .grmc .grmc__down-grid {
    grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.4fr) !important;
    gap: 12px !important;
  }

  .grmc .grmc__field label,
  .grmc .grmc__terms legend {
    font-size: 20px !important;
  }

  .grmc .grmc__term span {
    font-size: 17px !important;
    line-height: 22px !important;
  }

  .grmc .grmc__result-main strong {
    font-size: 46px !important;
  }
}

@media (max-width: 460px) {
  .grmc .grmc__down-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.6.3 — final layout and typography alignment */
.grmc .grmc__form-wrap {
  max-width: var(--grmc-top-width, 1510px) !important;
}

.grmc .grmc__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: clamp(70px, 7.4vw, 140px) !important;
  row-gap: 56px !important;
}

.grmc .grmc__field {
  min-width: 0 !important;
}

.grmc .grmc__field label,
.grmc .grmc__terms legend {
  margin-bottom: 16px !important;
  font-size: 22px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: normal !important;
}

.grmc .grmc__input,
.grmc .grmc__money-input .grmc__input,
.grmc .grmc__suffix-input .grmc__input {
  width: 100% !important;
  min-width: 0 !important;
  height: 58px !important;
  min-height: 58px !important;
  font-size: 19px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 26px !important;
  text-overflow: clip !important;
}

.grmc .grmc__dropdown-toggle {
  width: 100% !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 54px 0 24px !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 26px !important;
  white-space: nowrap !important;
}

.grmc .grmc__dropdown-option {
  min-height: 58px !important;
  padding: 14px 24px !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 26px !important;
}

.grmc .grmc__down-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
  gap: 18px !important;
}

.grmc .grmc__suffix-input .grmc__input[data-grmc="down-percent"] {
  padding: 0 56px 0 24px !important;
}

.grmc .grmc__money-input .grmc__input[data-grmc="down-amount"] {
  padding: 0 24px 0 62px !important;
}

.grmc .grmc__money-input:has(.grmc__input[data-grmc="down-amount"]) > span {
  left: 30px !important;
  font-size: 19px !important;
  line-height: 26px !important;
}

.grmc .grmc__suffix-input > span {
  right: 24px !important;
  font-size: 19px !important;
  line-height: 26px !important;
}

.grmc .grmc__terms {
  margin-top: 54px !important;
}

.grmc .grmc__terms legend {
  margin-bottom: 28px !important;
}

.grmc .grmc__term-options {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 28px !important;
}

.grmc .grmc__term {
  width: 196px !important;
  min-width: 196px !important;
}

.grmc .grmc__term span {
  min-height: 58px !important;
  padding: 0 22px !important;
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 25px !important;
  white-space: nowrap !important;
}

.grmc .grmc__term span::after {
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  margin-left: 18px !important;
}

.grmc .grmc__term input:checked + span::before {
  right: 30px !important;
}

.grmc .grmc__actions {
  gap: 58px !important;
  margin-top: 84px !important;
}

.grmc .grmc__reset,
.grmc button.grmc__reset,
.elementor .grmc button.grmc__reset {
  border: 0 !important;
  border-bottom: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--grmc-accent) !important;
  font-size: 22px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 26.4px !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px !important;
  box-shadow: none !important;
}

.grmc .grmc__reset:hover,
.grmc .grmc__reset:focus,
.grmc .grmc__reset:active,
.elementor .grmc button.grmc__reset:hover,
.elementor .grmc button.grmc__reset:focus,
.elementor .grmc button.grmc__reset:active {
  border: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  color: var(--grmc-accent) !important;
  text-decoration-line: underline !important;
  box-shadow: none !important;
}

@media (max-width: 1180px) {
  .grmc .grmc__grid {
    column-gap: 38px !important;
  }

  .grmc .grmc__term-options {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 900px) {
  .grmc .grmc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .grmc .grmc__grid {
    grid-template-columns: 1fr !important;
    row-gap: 30px !important;
  }

  .grmc .grmc__down-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
  }

  .grmc .grmc__term-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .grmc .grmc__term {
    width: 100% !important;
    min-width: 0 !important;
  }

  .grmc .grmc__actions {
    margin-top: 48px !important;
  }
}

@media (max-width: 480px) {
  .grmc .grmc__down-grid,
  .grmc .grmc__term-options {
    grid-template-columns: 1fr !important;
  }
}


/* v1.6.4 — final field proportions and approved wording */
.grmc .grmc__input,
.grmc .grmc__money-input .grmc__input,
.grmc .grmc__suffix-input .grmc__input,
.grmc .grmc__suffix-input .grmc__input[data-grmc="down-percent"] {
  font-size: 19px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 26px !important;
}

.grmc .grmc__down-grid {
  grid-template-columns: minmax(150px, 0.72fr) minmax(260px, 1.28fr) !important;
  gap: 14px !important;
}

.grmc .grmc__suffix-input .grmc__input[data-grmc="down-percent"] {
  padding-left: 20px !important;
  padding-right: 42px !important;
}

.grmc .grmc__suffix-input:has(.grmc__input[data-grmc="down-percent"]) > span {
  right: 16px !important;
  font-size: 19px !important;
  line-height: 26px !important;
}

.grmc .grmc__money-input .grmc__input[data-grmc="down-amount"] {
  padding-left: 48px !important;
  padding-right: 20px !important;
}

.grmc .grmc__money-input:has(.grmc__input[data-grmc="down-amount"]) > span {
  left: 20px !important;
  font-size: 19px !important;
  line-height: 26px !important;
}

.grmc .grmc__term {
  min-width: 163px !important;
  width: 163px !important;
}

.grmc .grmc__term span::after {
  flex-basis: 25px !important;
  width: 25px !important;
  height: 25px !important;
}

.grmc .grmc__term input:checked + span::before {
  right: 29px !important;
}

.grmc .grmc__option-radio {
  flex-basis: 15px !important;
  width: 15px !important;
  height: 15px !important;
}

.grmc .grmc__dropdown-option.is-selected .grmc__option-radio::after {
  left: 4px !important;
  top: 3px !important;
  width: 5px !important;
  height: 3px !important;
}

@media (max-width: 767px) {
  .grmc .grmc__down-grid {
    grid-template-columns: minmax(130px, 0.72fr) minmax(0, 1.28fr) !important;
  }

  .grmc .grmc__term {
    width: 100% !important;
    min-width: 163px !important;
  }
}

@media (max-width: 480px) {
  .grmc .grmc__down-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.6.5 — reliable custom dropdown scrolling */
.grmc .grmc__dropdown-menu,
.grmc .grmc__dropdown-menu--scroll {
  max-height: 260px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  scrollbar-width: thin;
}

.grmc .grmc__dropdown-option {
  flex: 0 0 auto !important;
}

.grmc .grmc__dropdown-menu::-webkit-scrollbar {
  width: 8px;
}

.grmc .grmc__dropdown-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.grmc .grmc__dropdown-menu::-webkit-scrollbar-thumb {
  background: #b8b8b8;
  border-radius: 8px;
}

.grmc .grmc__dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #8f8f8f;
}


/* v1.6.6 — 48px controls and equal desktop columns */
.grmc .grmc__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: clamp(48px, 6vw, 110px) !important;
}

.grmc .grmc__field {
  min-width: 0 !important;
}

.grmc .grmc__field label {
  white-space: nowrap !important;
}

.grmc .grmc__input,
.grmc .grmc__money-input .grmc__input,
.grmc .grmc__suffix-input .grmc__input,
.grmc .grmc__suffix-input .grmc__input[data-grmc="down-percent"] {
  height: 48px !important;
  min-height: 48px !important;
}

.grmc .grmc__dropdown-toggle {
  height: 48px !important;
  min-height: 48px !important;
}

.grmc .grmc__dropdown-option {
  min-height: 48px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.grmc .grmc__down-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr) !important;
  gap: 14px !important;
  width: 100% !important;
}

.grmc .grmc__down-grid > * {
  min-width: 0 !important;
}

.grmc .grmc__suffix-input .grmc__input[data-grmc="down-percent"] {
  width: 100% !important;
  padding-left: 18px !important;
  padding-right: 38px !important;
}

.grmc .grmc__money-input .grmc__input[data-grmc="down-amount"] {
  width: 100% !important;
  padding-left: 44px !important;
  padding-right: 18px !important;
}

.grmc .grmc__suffix-input:has(.grmc__input[data-grmc="down-percent"]) > span {
  right: 14px !important;
}

.grmc .grmc__money-input:has(.grmc__input[data-grmc="down-amount"]) > span {
  left: 17px !important;
}

@media (max-width: 1180px) {
  .grmc .grmc__grid {
    column-gap: 34px !important;
  }

  .grmc .grmc__field label {
    white-space: normal !important;
  }
}

@media (max-width: 900px) {
  .grmc .grmc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .grmc .grmc__grid {
    grid-template-columns: 1fr !important;
  }

  .grmc .grmc__down-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr) !important;
  }
}

@media (max-width: 480px) {
  .grmc .grmc__down-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.6.8 — final border and spacing adjustments */
.grmc .grmc__input,
.grmc .grmc__money-input .grmc__input,
.grmc .grmc__suffix-input .grmc__input,
.grmc .grmc__dropdown-toggle,
.grmc .grmc__term span {
  border: 0.5px solid #231F20 !important;
}

.grmc .grmc__grid {
  row-gap: 49px !important;
}

.grmc .grmc__actions {
  margin-top: 31px !important;
}


/* v1.6.9 — prevent flash of unstyled calculator */
.grmc {
  transition: visibility 0s linear;
}


/* v1.7.2 — selected custom-dropdown tick alignment */
.grmc .grmc__dropdown-option.is-selected .grmc__option-radio::after {
  top: 5px !important;
}


/* v1.7.3 — centre mobile action buttons */
@media (max-width: 767px) {
  .grmc button.grmc__button,
  .elementor .grmc button.grmc__button {
    text-align: center !important;
    justify-content: center !important;
  }

  .grmc button.grmc__reset,
  .elementor .grmc button.grmc__reset {
    width: 100% !important;
    text-align: center !important;
  }
}


/* v1.7.5 — mobile action spacing */
@media (max-width: 767px) {
  .grmc .grmc__actions {
    gap: 40px !important;
    grid-gap: 40px !important;
  }
}


/* v1.7.6 — semantic result heading and reset hover */
.grmc .grmc__result-title {
  margin: 0 !important;
}

.grmc .grmc__reset {
  transition: opacity 0.2s ease !important;
}

.grmc .grmc__reset:hover,
.grmc .grmc__reset:focus-visible {
  opacity: 0.7 !important;
}
