header#header.navbar-compact {
  z-index: 9999;
}

.std-offer {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4em;
  overflow: hidden;
}

@media only screen and (992px <= width <= 1199px) {
  .std-offer {
    margin-left: 15px;
    margin-right: 15px;
  }
}

body.product-category .std-offer h3.category-landing-subtitle {
  color: #282828;
  text-wrap: balance;
}

.std-offer .step-labels {
  border-radius: 2px;
  display: flex;
  line-height: 2.6em;
  margin-bottom: 15px;
  position: relative;
}

.std-offer hr {
  border-top: 1px solid #bbbbbb;
}

/* We are using a special arrows for the step labels that sometimes may cause the bottom
    edge of the arrow to overflow.
    To fix that, we are putting a long white line to the bottom of the step labels container.
    This will hide the occasionally overflowing border.
  */
.std-offer .step-labels::after {
  background-color: #ffffff;
  content: '';
  height: 1px;
  position: absolute;
    bottom: -1px;
  width: 100%;
}

.std-offer .step-label {
  border: 1px solid #495057;
  color: #282828;
  flex: 1;
  position: relative;
  text-align: center;
}

@media only screen and (max-width: 370px) {
  .std-offer .step-label {
    font-size: 13px;
  }
}

@media only screen and (max-width: 599px) {
  .std-offer .step-label__long {
    display: none;
  }
}

@media only screen and (min-width: 600px) {
  .std-offer .step-label--mobile {
    display: none;
  }
}

@media only screen and (768px <= width < 1200px) {
  .std-offer .step-label__long {
    font-size: .85em;
  }
}

.std-offer .step-label:not(:first-child)::before,
.std-offer .step-label:not(:first-child)::after {
  content: '';
  display: block;
  position: absolute;
  left: -8px;
  background-color: #ffffff;
  height: calc(50% + 1px);
  width: 14px;
  border-left: 1px solid #495057;
  border-right: 1px solid #495057;
}

.std-offer .step-label:not(:first-child)::before {
  top: -1px;
  transform: skew(30deg, 0deg);
}

.std-offer .step-label:not(:first-child)::after {
  bottom: -1px;
  transform: skew(330deg, 0deg);
}

.std-offer .step-label.completed {
  background-color: #eeeeee;
  border-color: #dddddd;
  color: #888888;
}

.std-offer .step-label.completed::before,
.std-offer .step-label.completed::after {
  border-color: #dddddd;
}

.std-offer .step-label.active {
  background-color: #495057;
  color: #ffffff;
  flex: 3;
}

.std-offer .step-label.active::before,
.std-offer .step-label.active::after {
  border-left-color: #dddddd;
}

@media only screen and (min-width: 768px) {
  .std-offer .step-label.active {
    flex: 1;
  }
}

.std-offer .step-label__long {
  margin-left: 4px;
}

.std-offer .step-label:not(.active) .step-label__long {
  display: none;
}

@media only screen and (min-width: 768px) {
  .std-offer .step-label .step-label__long,
  .std-offer .step-label:not(.active) .step-label__long,
  .std-offer .step-label .step-label__short,
  .std-offer .step-label.active  .step-label__short {
    display: inline-block;
  }
}

.std-offer .steps {
  display: flex;
    flex-wrap: nowrap;
}

.std-offer .step {
  transition: transform 400ms ease;
}

.std-offer .step.complete {
  transform: translateX(-100%)
}

.std-offer .step--close {
  margin-top: 35px;
}

@media only screen and (width < 768px) {
  .std-offer .step:not(:last-child) .step__content {
    width: 100%;
  }
}

@media only screen and (768px <= width) {
  .std-offer .step {
    border: 1px solid #bbbbbb;
    border-radius: 10px;
  }

  .std-offer .step__content {
    display: flex;
      flex-flow: column;
      justify-content: space-between;
    padding: 15px;
    height: 100%;
    width: 100%;
  }

  .std-offer .step__content--summary {
    display: flex;
      column-gap: 30px;
  }
  
  .std-offer .step__content--summary__left,
  .std-offer .step__content--summary__right {
    flex: 1;
  }
}

.std-offer .step__content p {
  color: #282828;
  font-size: .9em;
  font-weight: 400;
}

.std-offer .alert.alert-success {
  background-color: #235625;
}

.std-offer .alert.alert-success i {
  background-color: #153816;
}

.std-offer a {
  color: #ed1c24;
  transition: opacity 150ms ease;
  white-space: nowrap;
}

.std-offer a:hover {
  opacity: .7;
}

.std-offer .step__content small {
  color: inherit;
  font-size: .9em;
  font-weight: inherit;
}

.std-offer [class^="step__form-group"] {
  color: #282828;
  font-size: 1em;
  font-weight: 400;
  position: relative;
}
.std-offer [class^="step__form-group"]:not(.step__form-group--contact) {
margin-bottom: 25px;
}

.step__form--input-group .input-group-btn {
  font-size: initial;
}

.step__form--input-group .input-group-btn button {
  border-radius: 0 2px 2px 0;
  min-height: 45px;
}

@media only screen and (max-width: 400px) {
  .step__form--input-group .input-group-btn button {
    font-size: .75em;
  }
}

.std-offer .step__form-subgroup {
  display: grid;
    gap: 15px;
}

.std-offer .step__form-subgroup__item--separator {
  position: relative;
}

.std-offer .step__form-subgroup__item--separator::after {
  background-color: #bbbbbb;
  content: '';
  display: block;
  height: 1px;
  position: absolute;
    left: 0;
    top: 50%;
  width: 100%;
  z-index: -1;
}

.std-offer .step__form-subgroup__item--separator > span {
  background-color: #ffffff;
  display: none;
  font-size: 1.3em;
  margin-left: 15px;
  padding: 0 8px;
  text-transform: uppercase;
}

@media only screen and (768px <= width) {
  .std-offer .step__form-subgroup {
    grid-template-columns: minmax(100px, auto) 1px minmax(100px, auto) 1px minmax(150px, 1fr);
  }

  .std-offer .step__form-subgroup__item--separator {
    display: flex;
      align-items: flex-start;
      justify-content: center;
    height: 100%;
  }

  .std-offer .step__form-subgroup__item--separator::after {
    height: 100%;
    left: 50%;
    top: 0;
    width: 1px;
  }

  .std-offer .step__form-subgroup__item--separator > span {
    display: initial;
    margin: 38px 0 0 0;
    padding: 8px;
  }
}

.std-offer .step__form-group--flex {
  display: flex;
    align-items: center;
    column-gap: 15px;
}

.std-offer [class^="step__form-group"] .step__form-dynamic {
  position: relative;
}

.std-offer [class^="step__form-group"].required label::after {
  color: #ed1c24;
  content: '*';
  margin-left: 1px;
}

.std-offer .step__hidden-input {
  font-size: .8em;
  font-weight: 400;
  line-height: 1em;
  margin: 0;
  padding: 0;
  pointer-events: none;
  position: absolute;
    bottom: 14px;
    left: 11px;
}

.std-offer .step__hidden-input--value {
  opacity: 0;
}

.std-offer [class^="step__form-group"] .select2-container {
  width: 100% !important;
}

.std-offer [class^="step__form-group"] .select2-selection {
  background-color: #fafafa;
  border-color: #bbb;
  border-radius: 2px;
  font-size: .8em;
  line-height: 1em;
  min-height: 45px;
}

.std-offer [class^="step__form-group"].has-error .select2-selection {
  border-color: #ed1c24;
}

.std-offer [class^="step__form-group"].has-success .select2-selection {
  border-color: #28a745;
}

.std-offer [class^="step__form-group"].has-warning .select2-selection {
  border-color: #d56310;
}

.std-offer [class^="step__form-group"] .select2-selection__arrow {
  min-height: 45px;
  width: 30px;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"] .select2-selection__arrow {
  min-height: 86px;
}

@media only screen and (550px <= width) {
  .std-offer .step__form-modular-list__item--has-image .step__hidden-input {
    bottom: 35px;
  }

  .std-offer .step__form-modular-list__item--has-image [class^="step__form-group"] input[name$="[qty]"] {
    line-height: 1.4em;
    min-height: 86px;
  }
}

.std-offer [class^="step__form-group"] .select2-selection__rendered {
  padding: 0 10px;
  line-height: 43px;
}

.std-offer select.mobilgarage-postcode-location + .select2-container .select2-selection__clear {
  position: absolute;
  top: 50%;
  right: 30px;
  z-index: 1;
  margin: 0;
  line-height: 1;
  transform: translateY(-50%);
}

.select2-container--open .select2-dropdown--above.std-select2-dropdown,
.select2-container--open .select2-dropdown--below.std-select2-dropdown {
  border: none;
}

.select2-container--open .select2-dropdown--above.std-select2-dropdown .select2-results,
.select2-container--open .select2-dropdown--below.std-select2-dropdown .select2-results {
  border: 1px solid #bbbbbb;
  /* margin-left: -85px; */ /* removed: caused mobile left-overflow; new CSS uses grid layout instead */
  /* width: calc(100% + 85px) */
}

.std-select2-dropdown .select2-results__option--selectable,
.std-offer .step__form-modular-list__item--has-image .select2-results__option--selectable {
  color: #282828;
  transition: background-color 200ms ease, color 200ms ease;
}

.std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #495057;
  color: #ffffff;
}

.std-select2-dropdown .select2-results__option--selectable {
  padding: 0 10px 0 0;
}

.std-select2-dropdown .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default .select2-results__option--selected {
  background-color: #7c8691;
  color: #ffffff;
}

.std-select2-dropdown .select2-results__option--highlighted.select2-results__option--selectable:not(.select2-results__option--selected) {
  background-color: #e9e9e9;
  color: #282828;
}

.std-select2-dropdown .step__select--img,
.std-offer .step__form-modular-list__item--has-image .step__select--img {
  background-color: #fff;
  border-right: 1px solid #bbbbbb;
  display: inline-block;
  margin: 0 15px 0 0;
  max-width: 30%;
  padding: 5px;
}

.std-select2-dropdown .step__select--empty {
  font-size: .85em;
}

.std-select2-dropdown .step__select--text {
  display: inline-block;
  text-wrap: balance;
  vertical-align: middle;
  width: calc(100% - 110px);
}

.std-offer .step__form-modular-list__item--has-image [class^="step__select"],
.std-select2-dropdown .step__select {
  border-bottom: 1px solid #bbb;
  border-left: 1px solid #bbb;
  border-top: 1px solid #bbb;
  display: inline-flex;
    align-items: center;
    justify-content: center;
  max-height: 87px;
}

.std-offer .step__form-modular-list__item--has-image .step__form-group.has-error [class^="step__select"] {
  border-color: #ed1c24;
  color: #ed1c24;
}

.std-offer .step__form-modular-list__item--has-image .step__form-group.has-success [class^="step__select"] {
  border-color: #28a745;
  color: #28a745;
}

.std-offer .step__form-modular-list__item--has-image .step__form-group.has-warning [class^="step__select"] {
  border-color: #d56310;
  color: #d56310;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__select"] a {
  padding: 5px;
  cursor: zoom-in;
}

.std-offer .step__form-modular-list__item--has-image .step__select--empty i,
.std-select2-dropdown .step__select--empty i {
  background-color: #fff;
  border-right: 1px solid #bbb;
  color: #7c8691;
  font-size: 36px;
  line-height: 85px;
  text-align: center;
  width: 86px;
}

.std-select2-dropdown .step__select--empty i {
  margin: 0 15px 0 0;
}

.std-offer .step__form-modular-list__item--has-image .step__select--empty i {
  border-right: unset;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-error .step__select--empty i {
  border-color: #ed1c24;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-success .step__select--empty i {
  border-color: #28a745;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-warning .step__select--empty i {
  border-color: #d56310;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-error .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #ed1c24;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-success .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #28a745;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-warning .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #d56310;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-error .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #ed1c24 transparent transparent transparent;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-success .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #28a745 transparent transparent transparent;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-warning .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #d56310 transparent transparent transparent;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-error .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #ed1c24 transparent;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-success .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #28a745 transparent;
}

.std-offer .step__form-modular-list__item--has-image [class^="step__form-group"].has-warning .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #d56310 transparent;
}

.std-select2-dropdown .select2-results__option--highlighted.select2-results__option--selectable .step__select--empty i {
  color: #7c8691 !important;
}

@media only screen and (min-width: 992px) {
  .std-offer .step__form-groups,
  .std-offer .step__form-modular-list,
  .std-offer [class^="step__form-modular-list__item"] {
    display: grid;
      column-gap: 30px;
      grid-template-columns: 1fr 1fr;
      row-gap: 15px;
  }

  .std-offer .step__form-modular-list,
  .std-offer [class^="step__form-modular-list__item"] {
    gap: 15px;
  }

  .std-offer [class^="step__form-group--full"],
  .std-offer .step__form-modular-list,
  .std-offer [class^="step__form-modular-list__item"],
  .std-offer .step__form-modular_list__title {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}

.std-offer .step__form-label {
  color: #282828;
  display: block;
  font-weight: 400;
  transition: color 200ms ease;
}

.std-offer [class^="step__form-control"] {
  background-color: #fafafa;
  border: 1px solid #bbbbbb;
  border-radius: 2px;
  font-size: .8em;
  font-weight: 400;
  line-height: 1em;
  min-height: 45px;
  padding: 15px 10px 11px;
  width: 100%;
  -moz-appearance: textfield;
}

.std-offer [class^="step__form-control"]:hover {
  background-color: #e9e9e9;
}

.std-offer [class^="step__form-control"]:disabled:hover {
  cursor: not-allowed;
}

.std-offer [class^="step__form-control"]:disabled {
  opacity: 0.7;
}

.std-offer [class^="step__form-control"]:not(textarea) {
  height: 45px;
}

[name="calculation[sidewall][color-custom]"].selected {
  border: 1px solid #495057;
}

.std-offer [class^="step__form-control"]::-webkit-outer-spin-button,
.std-offer [class^="step__form-control"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.std-offer select[class^="step__form-control"] option:disabled {
  background-color: #ddd;
  color: #777;
}

.std-offer .step__form-control[type="checkbox"] {
  accent-color: #495057;
border-radius: 2px;
  height: 40px;
  margin: 0;
  position: relative;
  width: 40px;
  transition: accent-color 200ms ease;
}

.std-offer .step__form-control[type="checkbox"]::before {
  background-color: #fafafa;
  border: 1px solid #bbb;
  border-radius: 2px;
  content: '';
  display: block;
  pointer-events: none;
  position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    top: 2px;
  transition: background-color 200ms ease;
}
.std-offer .step__form-control[type="checkbox"]:checked::before {
  background-color: transparent;
}

.std-offer .step__form-control--hidden {
  display: none;
}

.std-offer .step__form-select,
.std-offer [class^="step__form-select--flex-wrap"] {
  display: flex;
    align-items: start;
    flex-wrap: wrap;
    gap: 15px;
}

.std-offer [class^="step__form-select--flex-wrap"] button {
  min-width: 100px;
  text-align: center;
}

.std-offer .step__form-select--flex-wrap--33 button {
  flex: 0 calc(20% - 12px);
  min-width: unset;
}

@media only screen and (width < 600px) {
  .std-offer [class^="step__form-select--flex-wrap"] {
    flex-wrap: wrap;
  }

  .std-offer [class^="step__form-select--flex-wrap"] button {
    max-width: unset !important;
  }

  .std-offer .step__form-select--flex-wrap--33 button {
    flex: 0 calc(33% - 10px);
  }
}

.std-offer [class^="step__form-select--flex-wrap"] button img {
  background-color: #ffffff;
}

.std-offer [class^="step__form-select__item"] {
  background-color: transparent;
  border: 0;
  color: #282828;
  cursor: pointer;
  flex: 0 1 100px;
  font-size: .8em;
  font-weight: 500;
  opacity: .85;
  padding: 0;
  position: relative;
  text-align: left;
  transition: background-color 200ms ease, color 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.std-offer [class^="step__form-select__item"]:hover {
  opacity: 1;
}

.std-offer [class^="step__form-select__item"] .step__form-select__box {
  border: 1px solid #bbbbbb;
  border-radius: 2px;
  margin-bottom: 5px;
  min-height: 60px;
  pointer-events: none;
  text-align: center;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

/* .std-offer [class^="step__form-select__item"] .step__form-select__box::after {
  background-color: #fff;
  display: inline-block;
  content: '';
  height: 4px;
  position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
} */

.std-offer [class^="step__form-select__item"] .step__form-select__box.flow-column {
  display: flex;
    flex-flow: column;
    align-items: center;
}

.std-offer [class^="step__form-select__item"] .step__form-select__box:not(.color-box) {
  background-color: #fafafa;
  box-shadow: 1px 2px 12px #00000022, inset -4px -4px 22px #00000014;
}

.std-offer [class^="step__form-select__item"] .step__form-select__box.image-box img {
  width: 100px;
  height: 60px;
  object-fit: cover;
}

.std-offer [class^="step__form-select__item"].selected .step__form-select__box {
  border-color: #495057;
}


.std-offer .step__form-select__item--image {
  background-color: #fafafa;
  border: 1px solid #bbbbbb;
  border-radius: 2px;
  display: flex;
    align-items: center;
    flex-flow: column;
    justify-content: space-around;
  flex: 0 1 calc(50% - 7.5px);
  min-height: 120px;
  padding: 10px 5px;
  text-align: center;
  transition: background 200ms ease;
}

.std-offer [class^="step__form-group"].has-error .step__form-select__item--image {
  border-color: #ed1c24;
}

.std-offer [class^="step__form-group"].has-success .step__form-select__item--image {
  border-color: #28a745;
}

.std-offer .step__form-select__item--image.selected,
.std-offer .step__form-select__item--image:focus,
.std-offer .step__form-select__item--image:hover {
  background-color: #e9e9e9;
}

.std-offer .step__form-select__item--flex-grow {
  flex: 1 0;
}

.std-offer [class^="step__form-select__item"].selected {
  background-color: #495057;
  border-radius: 2px;
  color: #ffffff;
  opacity: 1;
  position: relative;
}

.std-offer .step__form-select__item--image.selected {
  background-color: #7c8691;
}

.std-offer .step__form-select__item--image .step__form-select__box {
  border-radius: 4px;
  display: flex;
    flex-flow: column;
    align-items: center;
    gap: 10px;
  min-height: 80px;
  padding: 10px;
  width: 100%;
}

@media only screen and (375px <= width) {
  .std-offer .step__form-select__item--image .step__form-select__box {
    border: 1px solid #aaaaaa;
    flex-flow: row;
    justify-content: flex-start;
    mix-blend-mode: hard-light;
  }
}

.std-offer .step__form-select__item--image.selected .step__form-select__box,
.std-offer .step__form-select__item--image:focus .step__form-select__box,
.std-offer .step__form-select__item--image:hover .step__form-select__box {
  border: 1px solid #ed1c24;
}

.std-offer .step__form-select__item--image img {
  filter: drop-shadow(4px 4px 35px #ffffff55);
  height: auto;
  max-width: 100%;
  width: 120px;
}

.std-offer [class^="step__form-group"].has-error .step__error,
.std-offer [class^="step__form-group"].has-success .step__error,
.std-offer [class^="step__form-group"].has-warning .step__error {
  display: none;
  margin: 4px 0 0;
}

.std-offer [class^="step__form-group"].has-error .step__error,
.std-offer [class^="step__form-group"].has-error + .step__special-error,
.std-offer [class^="step__form-group"].has-error .step__form-label {
  color: #ed1c24;
}

.std-offer [class^="step__form-group"].has-error [class^="step__form-control"] {
  border-color: #ed1c24;
}

.std-offer [class^="step__form-group"].has-success .step__error,
.std-offer [class^="step__form-group"].has-success + .step__special-error,
.std-offer [class^="step__form-group"].has-success .step__form-label p.step__error {
  color: #28a745;
}

.std-offer [class^="step__form-group"].has-warning .step__error,
.std-offer [class^="step__form-group"].has-warning + .step__special-error {
  color: #d56310;
}

.std-offer [class^="step__form-group"].has-warning [class^="step__form-control"] {
  background-color: #fcf8e3;
  border-color: #d56310;
}

.std-offer [class^="step__form-group"].has-error .step__error,
.std-offer [class^="step__form-group"].has-success .step__error,
.std-offer [class^="step__form-group"].has-warning .step__error {
  display: block;
}

.std-offer [class^="step__form-group"].has-error [class^="step__form-select__item"] .step__form-select__box {
  border-color: #ed1c24;
  box-shadow: 1px 2px 12px #ff00002b, inset -4px -4px 22px #ff000026;
}

.std-offer [class^="step__form-group"].has-error [class^="step__form-select__item"] {
  color: #ed1c24;
}

.std-offer [class^="step__form-modular-list__item"] {
  align-items: start;
  border: 1px solid #bbbbbb;
  grid-template-columns: auto 150px;
  padding: 10px;
  position: relative;
  row-gap: 0;
}

@media only screen and (992px <= width) {
  .std-offer [class^="step__form-modular-list__item"] {
    grid-column-start: unset;
    grid-column-end: unset;
  }
}

.std-offer .step__form-modular-list__item--has-image .step__form-group.first {
  display: grid;
  grid-template-columns: 85px auto;
}

.std-offer .step__form-modular-list__item--has-image .step__form-group.first label,
.std-offer .step__form-modular-list__item--has-image p.step__error,
.std-offer .step__form-modular-list__item--has-image p.step__warning {
  grid-column-start: 1;
  grid-column-end: 3;
}

.std-offer .step__special-error {
  margin-top: -11px;
  margin-bottom: 15px;
}

@media only screen and (width < 550px) {
  .std-offer .step__form-modular_list__image--container + .step__form-group {
    grid-column-start: 1;
    grid-column-end: 3;
    order: 3;
  }
}

@media only screen and (550px <= width) {
  .std-offer .step__special-error {
    grid-column-start: 1; 
    grid-column-end: 3;
  }
}

.std-offer .step__form-modular_list__image--container {
  background-color: #ffffff;
  border: 1px solid #bbbbbb;
  border-radius: 2px;
  max-height: 71px;
  padding: 5px;
  position: relative;
}

.std-offer .step__form-modular_list__image--container::before {
  color: #495057;
  content: '\f03e';
  font-family: 'FONTAWESOME';
  font-size: 30px;
  position: absolute;
    left: 50%;
    top: 50%;
  transform: translate(-50%, -50%);
}

.std-offer .step__form-modular_list__image--container img {
  position: relative;
  z-index: 10;
}

.std-offer .step__form-modular-list__item--bulkhead {
  grid-template-columns: 1fr 1fr;
}

@media only screen and (width <= 992px) {
  .std-offer [class^="step__form-modular-list__item"]:not(:last-child) {
    border-bottom: 0;
  }
}

.std-offer [class^="step__form-modular-list__item"]:nth-child(even) {
  background-color: #f8f8f8;
}

.std-offer [class^="step__form-modular-list__item"]:nth-child(even) .step__form-control {
  background-color: #ffffff;
}

.std-offer .step__form-modular_list__title {
  color: #282828;
  font-size: 1.4em;
  font-weight: 500;
  margin-bottom: 15px;
}

.std-offer [class^="step__form-modular-list__item"] .step__form-modular_list__title {
  border-bottom: 1px solid #e4e4e4;
  line-height: 1.6em;
  margin-bottom: 10px;
}

.std-offer .step__form-modular-list__item--box {
  display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.std-offer .step__form-modular-list__item--box__item {
  background-color: transparent !important;
  border: none;
  display: flex;
    align-items: flex-start;
    flex-flow: column;
    justify-content: space-between;
    row-gap: 10px;
  flex: 100%;
  padding: 0;
}

@media only screen and (400px <= width) {
  .std-offer .step__form-modular-list__item--box__item {
    flex: 0 1 calc(50% - 7.5px);
  }
}

@media only screen and (550px <= width) {
  .std-offer .step__form-modular-list__item--box__item {
    flex: 0 1 calc(33.33333333% - 10px);
  }
}

@media only screen and (768px <= width) {
  .std-offer .step__form-modular-list__item--box__item {
    flex: 0 1 calc(25% - 11.25px);
  }
}

@media only screen and (992px <= width) {
  .std-offer .step__form-modular-list__item--box__item {
    flex: 0 1 calc(16.66666666% - 12.5px);
  }
}

.std-offer .step__form-modular-list__item--box__item .step__form-group {
  width: 100%;
}

.std-offer .step__form-modular-list__item--box__item label {
  text-wrap: balance;
}

.std-offer .step__form-modular-list__item--box__no-image {
  background-color: #e9e9e9 !important;
  border: 1px solid #bbbbbb !important;
  border-radius: 2px;
  color: #888;
  display: flex;
    align-items: center;
  height: 75px;
}

.std-offer .step__summary {
  background-color: #ffffff;
  border: 1px solid #bbbbbb;
}

.std-offer .step__summary__group {
  display: grid;
    grid-template-columns: auto 1fr;
}

.std-offer [class^="step__summary__item"] {
  color: #282828;
  font-size: 1em;
  font-weight: 400;
  padding: 5px 10px 3px;
}

.std-offer .step__summary__group:not(:last-child) {
  border-bottom: 1px solid #bbb;
}

.std-offer [class^="step__summary__item"]:not(:first-child) {
  border-top: 1px solid #bbb;
}

.std-offer .step__summary__item--title {
  background-color: #495057;
  color: #fff;
  display: flex;
    align-items: center;
    justify-content: space-between;
  font-size: .9em;
  font-weight: 500;
  grid-column-start: 1;
  grid-column-end: 3;
  padding: 8px 10px 5px;
}

.std-offer .step__summary__group:not(:first-child) .step__summary__item--title {
  border-top: 6px solid #bbbbbb;
}

.std-offer .step__summary__item--label {
  font-size: .8em;
  font-weight: 500;
}

.std-offer .step__summary__item--option {
  font-size: .8em;
  text-align: right;
  text-wrap: balance;
}

.std-offer [class^="step__form-button"] {
  background-color: #fafafa;
  border-radius: 2px;
  border: 1px solid #cccccc;
  color: #282828;
  padding: 9px 0;
  padding-inline: 15px;
  text-transform: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, opacity 200ms ease;
  min-width: 120px;
}

.std-offer [class^="step__form-button"].btn-sm {
  min-width: unset;
  flex: 0 1 calc(50% - 7.5px);
}

@media only screen and (375px <= width) {
  .std-offer [class^="step__form-button"].btn-sm {
    flex: 0 1 calc(100% / 3 - 10px);
  }
}

@media only screen and (768px <= width) {
  .std-offer [class^="step__form-button"].btn-sm {
    flex: 0 1 120px;
  }
}

.std-offer [class^="step__form-button"]:focus,
.std-offer [class^="step__form-button"]:hover {
  background-color: #e4e4e4;
  border-color: #b4b4b4;
  color: #282828;
}

.std-offer [class^="step__form-button"]:disabled,
.std-offer [class^="step__form-button"]:disabled:focus,
.std-offer [class^="step__form-button"]:disabled:hover {
  background-color: #eeeeee;
  border-color: #dddddd;
  color: #888888;
}

.std-offer [class^="step__form-button"] i.step__icon--left  {
  margin: 5px 4px 0 -5px;
}
.std-offer [class^="step__form-button"] i.step__icon--right  {
  margin: 5px -5px 0 4px;
}

.std-offer .step__form-button--primary,
.std-offer .step__form-button--primary:disabled,
.std-offer .step__form-button--primary:disabled:focus,
.std-offer .step__form-button--primary:disabled:hover {
  background-color: #ed1c24;
  border-color: #ed1c24;
  color: #ffffff;
}

.std-offer .step__form-button--primary:focus,
.std-offer .step__form-button--primary:hover {
  background-color: #c61017;
  border-color: #c61017;
  color: #ffffff;
}

.std-offer .step__form-button--secondary,
.std-offer .step__form-button--secondary:disabled,
.std-offer .step__form-button--secondary:disabled:focus,
.std-offer .step__form-button--secondary:disabled:hover {
  background-color: #495057;
  border-color: #495057;
  color: #fafafa;
}

.std-offer .step__form-button--secondary:focus,
.std-offer .step__form-button--secondary:hover {
  background-color: #282828;
  border-color: #282828;
  color: #ffffff;
}

.std-offer .step__form-button-delete {
  min-width: unset;
  position: absolute;
    right: 4px;
    top: 5px;
  width: unset !important;
}

.std-offer [class^="step__form-button"].add-modular-item,
.std-offer .step__form-button.step__edit-step {
  border-radius: 2px;
  display: flex;
  align-items: center;
  column-gap: 8px;
  justify-content: center;
}

.std-offer .step__form-button--primary.remove-modular-item {
  margin-right: 6px;
  padding: 5px 10px 4px;
}

.std-offer [class^="step__form-button"].add-modular-item i[class^="step__icon"] {
  font-size: 1.1em;
  margin: 0;
}

.std-offer .step__form-button-delete,
.std-offer .step__form-button.step__edit-step {
  padding: 9px;
  flex: 0 0 40px;
}

.std-offer .step__form-actions {
  display: flex;
    column-gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 10px;
  margin: 30px 0 25px;
}

.std-offer .step__form-actions + .step__form-actions {
  margin: 0 0 25px;
}

.std-offer fieldset .col-sm-10 {
  padding: 0;
}

.std-offer [class^="step__form-groups"] fieldset legend {
  border: 0;
  font-size: 1em;
  font-weight: 400;
  margin-bottom: 5px;
  padding: 0;
}

.std-offer [class^="step__form-groups"].has-error fieldset legend {
  color: #ed1c24;
}

.std-offer [class^="step__form-groups"].has-success fieldset legend {
  color: #28a745;
}

.std-offer [class^="step__form-groups"] fieldset iframe {
  border: 1px solid transparent;
}

.std-offer [class^="step__form-groups"].has-error fieldset iframe {
  border: 1px solid #ed1c24;
}

.std-offer [class^="step__form-groups"].has-success fieldset iframe {
  border: 1px solid #28a745;
}

.std-offer .step__content--form {
  margin-top: 15px;
}

.std-offer .step__content--summary__right .step__content--form {
  margin-top: 35px;
}

.std-offer .step__content--success {
  padding-top: 25px;
}

.std-offer .step__content--success h4.step__form-modular_list__title {
  display: flex;
    align-items: center;
    column-gap: 15px;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.std-offer .step__content--success h4.step__form-modular_list__title i {
  color: green;
  font-size: 2em;
}

.std-offer [class^="step-help-"] {
  background-color: #fafafa;
  border: 1px solid #bbb;
  margin-top: 50px;
  padding: 15px;
}

.std-offer .step-help__title {
  color: #282828;
  font-weight: 500;
}

.std-offer [class^="step-help"] ul li,
.std-offer [class^="step-help"] p {
  color: #282828;
  font-size:.9em;
  font-weight: 400;
  line-height: 1.6em;
}

.std-offer [class^="step-help"] ul li {
  list-style: inside;
  list-style-type: square;
  margin-bottom: .6em;
}
.std-offer [class^="step-help"] p {
  margin-bottom: 1em;
}

.std-offer .step-help__image {
  float: right;
  margin: unset;
  max-height: 250px;
}

.std-offer .step__form-result {
  color: #282828;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.5em;
}

.std-offer .step__form-result:last-child {
  margin-bottom: 35px;
}

.std-offer .step__form-result .step__form-result--amount {
  color: #ed1c24;
  font-size: 1.1em;
  white-space: nowrap;
}

/* =============================================================================
   sd-mg-calc-force: franchise overlay
   Base layer (sd-mg-calc-force-base)
============================================================================= */
[id^="custom-offer-"].std-offer,
  [id^="custom-offer-"].std-offer * {
    box-sizing: border-box;
  }

  [id^="custom-offer-"].std-offer {
    --mg-calc-red: var(--sd-mg-red, #ed1c24);
    --mg-calc-red-dark: #d9161e;
    --mg-calc-blue: var(--sd-mg-blue, #133f63);
    --mg-calc-blue-deep: var(--sd-mg-blue-deep, #0c2b66);
    --mg-calc-blue-soft: #eef4f9;
    --mg-calc-ink: var(--sd-mg-ink, #222222);
    --mg-calc-muted: var(--sd-mg-muted, #5d6470);
    --mg-calc-soft: var(--sd-mg-soft, #f1f3f6);
    --mg-calc-line: var(--sd-mg-line, #e2e4e8);
    --mg-calc-white: var(--sd-mg-white, #ffffff);
    --mg-calc-shadow: var(--sd-mg-shadow-strong, 0 22px 60px rgba(19, 63, 99, .10));
    position: relative;
    z-index: 0;
    isolation: isolate;
    width: auto;
    max-width: none;
    margin: var(--sd-mg-section-y, 56px) 0 var(--sd-mg-section-y, 58px);
    padding: 54px 0;
    overflow: visible;
    color: var(--mg-calc-ink);
    background: transparent;
    font-family: Rubik, Inter, Arial, sans-serif;
  }

  [id^="custom-offer-"].std-offer:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: calc(100vw - 7px) !important;
    transform: translateX(-50%);
    background: var(--mg-calc-soft);
    pointer-events: none;
  }

  [id^="custom-offer-"].std-offer > style,
  [id^="custom-offer-"].std-offer input[type="hidden"] {
    display: none !important;
  }

  [id^="custom-offer-"].std-offer .step__form-control--hidden {
    display: none !important;
  }

  [id^="custom-offer-"].std-offer .category-landing-subtitle {
    width: min(100%, var(--sd-mg-container, 1170px));
    max-width: var(--sd-mg-container, 1170px);
    margin: 0 auto 24px;
    padding: 0;
    color: var(--mg-calc-blue);
    font-size: var(--sd-mg-title, clamp(24px, 2.2vw, 32px));
    font-weight: 800;
    letter-spacing: 0;
    line-height: var(--sd-mg-title-line, 1.18);
    text-transform: none;
  }

  [id^="custom-offer-"].std-offer .category-landing-subtitle:before {
    content: "Online garázskalkulátor";
    display: block;
    margin-bottom: 14px;
    color: var(--mg-calc-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  [id^="custom-offer-"].std-offer .step-labels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 1170px);
    max-width: 1170px;
    margin: 0 auto 18px;
    padding: 0;
  }

  [id^="custom-offer-"].std-offer .step-label {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 64px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--mg-calc-line);
    border-top: 4px solid transparent;
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--mg-calc-blue);
    background: var(--mg-calc-white);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
  }

  [id^="custom-offer-"].std-offer .step-labels:after,
  [id^="custom-offer-"].std-offer .step-label:before,
  [id^="custom-offer-"].std-offer .step-label:after {
    content: none !important;
    display: none !important;
  }

  [id^="custom-offer-"].std-offer .step-label:hover,
  [id^="custom-offer-"].std-offer .step-label:focus {
    border-color: rgba(19, 63, 99, .32);
    box-shadow: 0 14px 28px rgba(19, 63, 99, .10);
    outline: none;
    transform: translateY(-1px);
  }

  [id^="custom-offer-"].std-offer .step-label:focus-visible {
    box-shadow: 0 0 0 4px rgba(19, 63, 99, .16), 0 14px 28px rgba(19, 63, 99, .10);
  }

  [id^="custom-offer-"].std-offer .step-label.active {
    border-color: var(--mg-calc-blue);
    border-top-color: var(--mg-calc-red);
    color: var(--mg-calc-white);
    background: var(--mg-calc-blue);
    box-shadow: 0 18px 38px rgba(19, 63, 99, .18);
  }

  [id^="custom-offer-"].std-offer .step-label__short {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--mg-calc-white);
    background: var(--mg-calc-blue);
    font-size: 14px;
    line-height: 1;
  }

  [id^="custom-offer-"].std-offer .step-label__short i {
    display: none;
  }

  [id^="custom-offer-"].std-offer .step-label__short:before {
    display: block;
    font-family: Rubik, Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
  }

  [id^="custom-offer-"].std-offer .step-label-1 .step-label__short:before {
    content: "1";
  }

  [id^="custom-offer-"].std-offer .step-label-2 .step-label__short:before {
    content: "2";
  }

  [id^="custom-offer-"].std-offer .step-label-3 .step-label__short:before {
    content: "3";
  }

  [id^="custom-offer-"].std-offer .step-label-4 .step-label__short:before {
    content: "4";
  }

  [id^="custom-offer-"].std-offer .step-label.active .step-label__short {
    color: var(--mg-calc-blue);
    background: var(--mg-calc-white);
  }

  [id^="custom-offer-"].std-offer .step-label__long {
    display: block;
    overflow-wrap: anywhere;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.18;
    text-transform: uppercase;
  }

  [id^="custom-offer-"].std-offer .steps-wrapper {
    overflow: hidden;
    box-shadow: var(--mg-calc-shadow);
  }

  [id^="custom-offer-"].std-offer .steps {
    margin: 0 auto;
    padding: 0;
  }

  [id^="custom-offer-"].std-offer .step__content {
    width: 100%;
    overflow: hidden;
    border: 0;
    border-left: 5px solid var(--mg-calc-red);
    border-radius: 8px;
    background: var(--mg-calc-white);
    box-shadow: var(--mg-calc-shadow);
  }

  [id^="custom-offer-"].std-offer .step__body {
    padding: clamp(18px, 2.4vw, 28px);
  }

  [id^="custom-offer-"].std-offer .step__foot {
    border-top: 1px solid var(--mg-calc-line);
    padding: 18px clamp(18px, 2.4vw, 28px);
    background: #fbfcfd;
  }

  [id^="custom-offer-"].std-offer .step__foot hr {
    margin: 16px 0;
    border: 0;
    border-top: 1px solid var(--mg-calc-line);
  }

  [id^="custom-offer-"].std-offer .step__form-modular_list__title {
    margin: 0 0 22px;
    color: var(--mg-calc-blue);
    font-size: clamp(23px, 2.2vw, 32px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
  }

  [id^="custom-offer-"].std-offer .step__form-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
  }

  [id^="custom-offer-"].std-offer .step__form-groups--left,
  [id^="custom-offer-"].std-offer .step__form-groups--right {
    display: grid;
    min-width: 0;
    gap: 18px;
    align-content: start;
  }

  [id^="custom-offer-"].std-offer .step__form-group,
  [id^="custom-offer-"].std-offer .step__form-group--full,
  [id^="custom-offer-"].std-offer .step__form-group--contact {
    min-width: 0;
    margin: 0;
  }

  [id^="custom-offer-"].std-offer .step__form-group--full,
  [id^="custom-offer-"].std-offer .step__form-modular-list,
  [id^="custom-offer-"].std-offer .step__special-error {
    grid-column: 1 / -1;
  }

  [id^="custom-offer-"].std-offer .step__form-label {
    display: block;
    margin: 0 0 9px;
    color: var(--mg-calc-blue);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.28;
  }

  [id^="custom-offer-"].std-offer .required > .step__form-label:after,
  [id^="custom-offer-"].std-offer .step__form-group--contact.required .step__form-label:after {
    content: " *";
    color: var(--mg-calc-red);
  }

  [id^="custom-offer-"].std-offer .step__form-control,
  [id^="custom-offer-"].std-offer .step__form-control--floorspace,
  [id^="custom-offer-"].std-offer textarea.step__form-control {
    display: block;
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd3dc;
    border-radius: 8px;
    padding: 10px 13px;
    color: var(--mg-calc-ink);
    background: var(--mg-calc-white);
    font: inherit;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  }

  [id^="custom-offer-"].std-offer .step__form-dynamic {
    position: relative;
  }

  [id^="custom-offer-"].std-offer .step__form-dynamic .step__form-control,
  [id^="custom-offer-"].std-offer .step__form-dynamic .step__form-control--floorspace,
  [id^="custom-offer-"].std-offer .step__form-dynamic .step__form-control--quantity {
    padding-right: 64px;
  }

  [id^="custom-offer-"].std-offer .step__hidden-input {
    position: absolute;
    top: 50%;
    right: auto;
    bottom: auto;
    left: 13px;
    display: flex;
    max-width: calc(100% - 28px);
    align-items: center;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    color: var(--mg-calc-muted);
    font-family: Rubik, Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
    pointer-events: none;
    white-space: nowrap;
  }

  [id^="custom-offer-"].std-offer .step__hidden-input--value {
    opacity: 0;
  }

  [id^="custom-offer-"].std-offer .step__hidden-input--unit {
    color: var(--mg-calc-ink);
    margin-left: .18em;
  }

  [id^="custom-offer-"].std-offer textarea.step__form-control {
    min-height: 118px;
    resize: vertical;
  }

  [id^="custom-offer-"].std-offer .step__form-control:focus,
  [id^="custom-offer-"].std-offer .step__form-control--floorspace:focus {
    border-color: var(--mg-calc-blue);
    box-shadow: 0 0 0 4px rgba(19, 63, 99, .14);
    outline: none;
  }

  [id^="custom-offer-"].std-offer .step__form-select,
  [id^="custom-offer-"].std-offer .step__form-select--flex-wrap,
  [id^="custom-offer-"].std-offer .step__form-select--flex-wrap--33 {
    display: grid;
    gap: 10px;
  }

  [id^="custom-offer-"].std-offer .step__form-select {
    grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
  }

  [id^="custom-offer-"].std-offer .step__form-select--flex-wrap,
  [id^="custom-offer-"].std-offer .step__form-select--flex-wrap--33 {
    grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  }

  [id^="custom-offer-"].std-offer .step__form-select__item--image,
  [id^="custom-offer-"].std-offer .step__form-select__item--color {
    display: grid;
    min-height: 132px;
    align-content: center;
    justify-items: center;
    gap: 12px;
    border: 1px solid var(--mg-calc-line);
    border-top: 4px solid transparent;
    border-radius: 8px;
    padding: 16px 12px;
    color: var(--mg-calc-blue);
    background: var(--mg-calc-white);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.22;
    text-align: center;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
  }

  [id^="custom-offer-"].std-offer .step__form-select__item--image:hover,
  [id^="custom-offer-"].std-offer .step__form-select__item--color:hover,
  [id^="custom-offer-"].std-offer .step__form-select__item--image:focus,
  [id^="custom-offer-"].std-offer .step__form-select__item--color:focus {
    border-color: rgba(19, 63, 99, .34);
    box-shadow: 0 12px 24px rgba(19, 63, 99, .10);
    outline: none;
    transform: translateY(-1px);
  }

  [id^="custom-offer-"].std-offer .step__form-select__item--image:focus-visible,
  [id^="custom-offer-"].std-offer .step__form-select__item--color:focus-visible {
    box-shadow: 0 0 0 4px rgba(19, 63, 99, .16), 0 12px 24px rgba(19, 63, 99, .10);
  }

  [id^="custom-offer-"].std-offer .step__form-select__item--image.active,
  [id^="custom-offer-"].std-offer .step__form-select__item--image.selected,
  [id^="custom-offer-"].std-offer .step__form-select__item--image.is-selected,
  [id^="custom-offer-"].std-offer .step__form-select__item--color.active,
  [id^="custom-offer-"].std-offer .step__form-select__item--color.selected,
  [id^="custom-offer-"].std-offer .step__form-select__item--color.is-selected {
    border-color: var(--mg-calc-blue);
    border-top-color: var(--mg-calc-red);
    background: var(--mg-calc-blue-soft);
    box-shadow: 0 14px 26px rgba(19, 63, 99, .12);
  }

  [id^="custom-offer-"].std-offer .step__form-select__item--image img,
  [id^="custom-offer-"].std-offer .step__form-select__item--color img,
  [id^="custom-offer-"].std-offer .step__form-select__box img {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: contain;
  }

  [id^="custom-offer-"].std-offer .step__form-select__box.image-box {
    display: grid;
    width: 104px;
    height: 92px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(19, 63, 99, .12);
    border-radius: 6px;
    background: #f9fafb;
  }

  [id^="custom-offer-"].std-offer p small {
    display: block;
    margin: 0 0 10px;
    color: var(--mg-calc-muted);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
  }

  [id^="custom-offer-"].std-offer .step__special-error,
  [id^="custom-offer-"].std-offer #calculation-alert.alert {
    border: 1px solid rgba(237, 28, 36, .28);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--mg-calc-red) !important;
    background: rgba(237, 28, 36, .08);
    font-size: 14px;
    font-weight: 800;
  }

  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-error .step__form-label,
  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-warning .step__form-label,
  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-error .step__error,
  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-warning .step__error,
  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-error .step__error small,
  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-warning .step__error small,
  [id^="custom-offer-"].std-offer .step__special-error.has-error,
  [id^="custom-offer-"].std-offer .step__special-error.has-warning,
  [id^="custom-offer-"].std-offer .step__special-error small {
    color: var(--mg-calc-red) !important;
  }

  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-error [class^="step__form-control"],
  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-warning [class^="step__form-control"],
  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-error .select2-selection,
  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-warning .select2-selection {
    border-color: var(--mg-calc-red) !important;
  }

  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-error .step__error,
  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-warning .step__error {
    display: block;
    margin: 7px 0 0;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.35;
  }

  [id^="custom-offer-"].std-offer .step__form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  [id^="custom-offer-"].std-offer .step__form-button,
  [id^="custom-offer-"].std-offer .step__form-button--secondary,
  [id^="custom-offer-"].std-offer .step__form-button--primary {
    height: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--mg-calc-line);
    border-radius: 8px;
    padding: 11px 16px;
    color: var(--mg-calc-blue);
    background: var(--mg-calc-white);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  }

  [id^="custom-offer-"].std-offer .step__form-button:not(.step--summ),
  [id^="custom-offer-"].std-offer .step__form-button--secondary:not(.step--summ),
  [id^="custom-offer-"].std-offer .step__form-button--primary:not(.step--summ) {
    display: inline-flex;
  }

  [id^="custom-offer-"].std-offer .step__form-button i,
  [id^="custom-offer-"].std-offer .step__form-button--secondary i,
  [id^="custom-offer-"].std-offer .step__form-button--primary i,
  [id^="custom-offer-"].std-offer [class^="step__icon"] {
    display: inline-flex;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    font-size: 13px;
    line-height: 1;
    vertical-align: middle;
  }

  [id^="custom-offer-"].std-offer .step__form-button i:before,
  [id^="custom-offer-"].std-offer .step__form-button--secondary i:before,
  [id^="custom-offer-"].std-offer .step__form-button--primary i:before {
    display: block;
    line-height: 1;
  }

  [id^="custom-offer-"].std-offer .step--summ[style*="display:none"],
  [id^="custom-offer-"].std-offer .step--summ[style*="display: none"] {
    display: none !important;
  }

  [id^="custom-offer-"].std-offer .step__foot .step--prev,
  [id^="custom-offer-"].std-offer .step__foot .step--next,
  [id^="custom-offer-"].std-offer .step__foot .step--summ {
    min-width: 120px;
  }

  [id^="custom-offer-"].std-offer .step__form-button:hover,
  [id^="custom-offer-"].std-offer .step__form-button:focus {
    border-color: rgba(19, 63, 99, .32);
    color: var(--mg-calc-blue);
    box-shadow: 0 12px 24px rgba(19, 63, 99, .10);
    outline: none;
    transform: translateY(-1px);
  }

  [id^="custom-offer-"].std-offer .step__form-button--secondary,
  [id^="custom-offer-"].std-offer .step__form-button--primary,
  [id^="custom-offer-"].std-offer .step--submit {
    border-color: var(--mg-calc-red);
    color: var(--mg-calc-white) !important;
    background: var(--mg-calc-red);
  }

  [id^="custom-offer-"].std-offer .step__form-button--secondary:hover,
  [id^="custom-offer-"].std-offer .step__form-button--secondary:focus,
  [id^="custom-offer-"].std-offer .step__form-button--primary:hover,
  [id^="custom-offer-"].std-offer .step__form-button--primary:focus,
  [id^="custom-offer-"].std-offer .step--submit:hover,
  [id^="custom-offer-"].std-offer .step--submit:focus {
    border-color: var(--mg-calc-blue);
    color: var(--mg-calc-white) !important;
    background: var(--mg-calc-blue);
    box-shadow: 0 14px 28px rgba(19, 63, 99, .16);
    outline: none;
  }

  [id^="custom-offer-"].std-offer .add-modular-item {
    flex: 0 0 148px;
    width: 148px;
    max-width: 148px;
    min-height: 42px;
    border-color: rgba(19, 63, 99, .18);
    background: #fbfcfd;
    font-size: 12px;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 68px;
    border: 1px dashed rgba(19, 63, 99, .24);
    border-radius: 8px;
    padding: 14px;
    background: #fbfcfd;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list:empty {
    grid-template-columns: 1fr;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list:empty:before {
    content: "Itt jelennek meg a hozzáadott ablakok, ajtók, kapuk és válaszfalak.";
    color: var(--mg-calc-muted);
    font-size: 14px;
    font-weight: 650;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list > * {
    min-width: 0;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list > :only-child {
    grid-column: 1 / -1;
  }

  [id^="custom-offer-"].std-offer [class^="step__form-modular-list__item"] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(88px, 112px);
    gap: 14px;
    width: 100%;
    min-width: 0;
    align-items: end;
    border: 1px solid var(--mg-calc-line);
    border-left: 5px solid var(--mg-calc-blue);
    border-radius: 8px;
    padding: 16px;
    color: var(--mg-calc-blue);
    background: var(--mg-calc-white) !important;
    box-shadow: 0 14px 30px rgba(19, 63, 99, .07);
  }

  [id^="custom-offer-"].std-offer [class^="step__form-modular-list__item"]:nth-child(even) {
    background: var(--mg-calc-white) !important;
  }

  [id^="custom-offer-"].std-offer [class^="step__form-modular-list__item"] .step__form-modular_list__title {
    grid-column: 1 / -1;
    margin: 0 46px 0 0;
    border: 0;
    padding: 0 0 12px;
    color: var(--mg-calc-blue);
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.05;
  }

  [id^="custom-offer-"].std-offer [class^="step__form-modular-list__item"] .step__form-group {
    min-width: 0;
    margin: 0;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .step__form-group.first {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .step__form-group.first .step__form-label,
  [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .step__form-group.first .step__error,
  [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .step__form-group.first .step__warning {
    grid-column: 1 / -1;
  }

  [id^="custom-offer-"].std-offer .step__form-modular_list__image--container,
  [id^="custom-offer-"].std-offer .step__select--empty {
    display: grid;
    width: 108px;
    height: 78px;
    min-height: 76px;
    max-height: 78px;
    place-items: center;
    border: 1px solid #cbd3dc;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: #f7f9fb;
  }

  [id^="custom-offer-"].std-offer .step__select--empty i {
    display: none;
  }

  [id^="custom-offer-"].std-offer .step__select--empty:before {
    content: none;
    display: none;
  }

  [id^="custom-offer-"].std-offer .step__form-modular_list__image--container:before {
    color: rgba(19, 63, 99, .22);
    font-size: 22px;
  }

  [id^="custom-offer-"].std-offer .step__form-modular_list__image--container img {
    display: block;
    max-width: 54px;
    max-height: 52px;
    object-fit: contain;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .select2-container {
    height: 78px;
    min-height: 78px;
    width: 100% !important;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .select2-container .selection {
    display: block;
    height: 78px;
    min-height: 78px;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-selection--single {
    height: 78px;
    min-height: 78px;
    border: 1px solid #cbd3dc;
    border-radius: 0 8px 8px 0;
    background: var(--mg-calc-white);
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex;
    height: 76px;
    min-height: 76px;
    align-items: center;
    padding: 0 36px 0 14px;
    color: var(--mg-calc-ink);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    right: 10px;
    min-height: 0;
    transform: translateY(-50%);
  }

  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-error .step__select--empty,
  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-warning .step__select--empty {
    border-color: var(--mg-calc-red) !important;
  }

  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-error .select2-container--default .select2-selection--single,
  [id^="custom-offer-"].std-offer [class^="step__form-group"].has-warning .select2-container--default .select2-selection--single {
    border-color: var(--mg-calc-red) !important;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-list__item--bulkhead {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  [id^="custom-offer-"].std-offer .step__form-button-delete,
  [id^="custom-offer-"].std-offer .remove-modular-item {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    border: 0;
    border-radius: 8px;
    padding: 0;
    color: var(--mg-calc-white) !important;
    background: var(--mg-calc-red) !important;
    display: grid;
    place-items: center;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 0;
    line-height: 1;
    text-align: center;
    overflow: hidden;
    box-shadow: none;
  }

  [id^="custom-offer-"].std-offer .step__form-button-delete:before,
  [id^="custom-offer-"].std-offer .remove-modular-item:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 3px;
    border-radius: 999px;
    background: var(--mg-calc-white);
    transform: translate(-50%, -50%) rotate(45deg);
  }

  [id^="custom-offer-"].std-offer .step__form-button-delete:after,
  [id^="custom-offer-"].std-offer .remove-modular-item:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 3px;
    border-radius: 999px;
    background: var(--mg-calc-white);
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  [id^="custom-offer-"].std-offer .step__form-modular-item {
    border: 1px solid var(--mg-calc-line);
    border-radius: 8px;
    background: var(--mg-calc-white);
    overflow: hidden;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--mg-calc-line);
    padding: 13px 15px;
    background: #fbfcfd;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-item__title {
    color: var(--mg-calc-blue);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-item__meta {
    color: var(--mg-calc-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-item__body {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(110px, .45fr));
    gap: 12px;
    align-items: end;
    padding: 14px;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 15px 15px;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-item__actions .step__form-button {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12px;
  }

  [id^="custom-offer-"].std-offer .step__form-modular-item__actions .step__form-button--delete {
    border-color: rgba(237, 28, 36, .30);
    color: var(--mg-calc-red);
    background: rgba(237, 28, 36, .06);
  }

  [id^="custom-offer-"].std-offer .step__content--summary {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr);
    gap: 28px;
    align-items: start;
  }

  [id^="custom-offer-"].std-offer .step__summary {
    min-height: 160px;
    border: 1px solid var(--mg-calc-line);
    border-radius: 8px;
    padding: 18px;
    background: #fbfcfd;
  }

  [id^="custom-offer-"].std-offer .step__summary:empty:before {
    content: "A kiválasztott méretek, panelek és kiegészítők összegzése itt jelenik meg.";
    color: var(--mg-calc-muted);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
  }

  [id^="custom-offer-"].std-offer .step__content--form {
    border: 1px solid var(--mg-calc-line);
    border-radius: 8px;
    padding: 20px;
    background: var(--mg-calc-white);
  }

  [id^="custom-offer-"].std-offer .step__content--form + .step__content--form {
    margin-top: 18px;
  }

  [id^="custom-offer-"].std-offer .input-group.step__form--input-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 20px;
  }

  [id^="custom-offer-"].std-offer .input-group-btn {
    display: contents;
  }

  [id^="custom-offer-"].std-offer fieldset {
    margin: 0;
    border: 1px solid var(--mg-calc-line);
    border-radius: 8px;
    padding: 16px;
  }

  [id^="custom-offer-"].std-offer legend {
    width: auto;
    margin: 0 0 8px;
    border: 0;
    color: var(--mg-calc-blue);
    font-size: 13px;
    font-weight: 900;
  }

  [id^="custom-offer-"].std-offer .step__form-pdf {
    color: var(--mg-calc-blue);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  [id^="custom-offer-"].std-offer .step-helpers {
    width: min(100%, 1170px);
    max-width: 1170px;
    margin: 18px auto 0;
    padding: 0;
  }

  [id^="custom-offer-"].std-offer .step-helpers > div {
    border: 1px solid var(--mg-calc-line);
    border-left: 5px solid var(--mg-calc-blue);
    border-radius: 8px;
    padding: 24px;
    background: var(--mg-calc-white);
    box-shadow: 0 14px 32px rgba(19, 63, 99, .08);
  }

  [id^="custom-offer-"].std-offer .step-help__image {
    display: block;
    max-width: 260px;
    height: auto;
    margin: 0 0 16px;
  }

  [id^="custom-offer-"].std-offer .step-help__title {
    margin: 0 0 12px;
    color: var(--mg-calc-blue);
    font-size: 24px;
    font-weight: 900;
  }

  [id^="custom-offer-"].std-offer .step-helpers p,
  [id^="custom-offer-"].std-offer .step-helpers li {
    color: var(--mg-calc-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.62;
  }

  [id^="custom-offer-"].std-offer .custom-offer--close {
    margin-top: 18px;
  }

  @media (max-width: 991px) {
    [id^="custom-offer-"].std-offer {
      padding-top: 48px;
      padding-bottom: 48px;
    }

    [id^="custom-offer-"].std-offer .step-labels {
      display: flex;
      overflow-x: auto;
      padding-bottom: 4px;
      scroll-snap-type: x proximity;
    }

    [id^="custom-offer-"].std-offer .step-label {
      flex: 0 0 205px;
      scroll-snap-align: start;
    }

    [id^="custom-offer-"].std-offer .step__form-groups,
    [id^="custom-offer-"].std-offer .step__content--summary {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 767px) {
    [id^="custom-offer-"].std-offer {
      margin: 42px 0 44px;
      padding: 40px 0;
    }

    [id^="custom-offer-"].std-offer .category-landing-subtitle {
      margin-bottom: 20px;
      font-size: var(--sd-mg-title-mobile, 26px);
      line-height: var(--sd-mg-title-line, 1.18);
    }

    [id^="custom-offer-"].std-offer .step-label {
      flex: initial;
      min-height: 58px;
      padding: 9px 12px;
    }

    [id^="custom-offer-"].std-offer .step-labels {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      overflow: visible;
      padding: 0;
    }

    [id^="custom-offer-"].std-offer .step-label__long {
      font-size: 12px;
    }

    [id^="custom-offer-"].std-offer .step__content {
      border-left: 0;
      border-top: 5px solid var(--mg-calc-red);
    }

    [id^="custom-offer-"].std-offer .step__body {
      padding: 16px 15px;
    }

    [id^="custom-offer-"].std-offer .step__foot {
      padding: 15px;
    }

    [id^="custom-offer-"].std-offer .step__form-select {
      grid-template-columns: 1fr;
    }

    [id^="custom-offer-"].std-offer .step__form-select--flex-wrap,
    [id^="custom-offer-"].std-offer .step__form-select--flex-wrap--33 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    [id^="custom-offer-"].std-offer .step__form-select__item--image,
    [id^="custom-offer-"].std-offer .step__form-select__item--color {
      min-height: 116px;
      padding: 14px 10px;
      font-size: 12px;
    }

    [id^="custom-offer-"].std-offer .step__form-select__item--image img,
    [id^="custom-offer-"].std-offer .step__form-select__item--color img,
    [id^="custom-offer-"].std-offer .step__form-select__box img {
      width: 78px;
      height: 78px;
    }

    [id^="custom-offer-"].std-offer .step__form-select__box.image-box {
      width: 88px;
      height: 78px;
    }

    [id^="custom-offer-"].std-offer .step__form-actions,
    [id^="custom-offer-"].std-offer .input-group.step__form--input-group {
      grid-template-columns: 1fr;
      display: grid;
    }

    [id^="custom-offer-"].std-offer .step__form-modular-item__body {
      grid-template-columns: 1fr;
    }

    [id^="custom-offer-"].std-offer .step__form-modular-list {
      grid-template-columns: 1fr;
    }

    [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .step__form-group.first {
      grid-template-columns: 87px minmax(0, 1fr);
    }

    [id^="custom-offer-"].std-offer .step__form-modular_list__image--container,
    [id^="custom-offer-"].std-offer .step__select--empty {
      width: 87px;
      height: 64px;
      min-height: 64px;
      max-height: 64px;
    }

    [id^="custom-offer-"].std-offer .step__select--empty i {
      display: none;
    }

    [id^="custom-offer-"].std-offer .step__select--empty:before {
      content: none;
      display: none;
    }

    [id^="custom-offer-"].std-offer .step__form-modular_list__image--container img {
      max-width: 45px;
      max-height: 42px;
    }

    [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .select2-container,
    [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .select2-container .selection,
    [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-selection--single {
      height: 64px;
      min-height: 64px;
    }

    [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-selection--single .select2-selection__rendered {
      height: 62px;
      min-height: 62px;
      padding: 0 28px 0 11px;
      font-size: 12px;
      line-height: 1.25;
    }

    [id^="custom-offer-"].std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-selection--single .select2-selection__arrow {
      right: 8px;
    }

    [id^="custom-offer-"].std-offer [class^="step__form-modular-list__item"],
    [id^="custom-offer-"].std-offer .step__form-modular-list__item--bulkhead {
      grid-template-columns: 1fr;
      padding: 16px;
    }

    [id^="custom-offer-"].std-offer [class^="step__form-modular-list__item"] .step__form-modular_list__title {
      margin-right: 54px;
      font-size: 24px;
    }

    [id^="custom-offer-"].std-offer .step__form-button,
    [id^="custom-offer-"].std-offer .step__form-button--secondary,
    [id^="custom-offer-"].std-offer .step__form-button--primary {
      width: 100%;
    }

    [id^="custom-offer-"].std-offer .add-modular-item {
      flex-basis: 100%;
      width: 100%;
      max-width: none;
      min-width: 0;
    }

    [id^="custom-offer-"].std-offer .step__content--form {
      padding: 16px;
    }
  }
  /* Final micro-fixes: blank default image slot and delete icon alignment */
  .std-offer .step__form-button-delete,
  .std-offer .remove-modular-item {
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
  }

  .std-offer .step__form-button-delete > *,
  .std-offer .remove-modular-item > * {
    display: none !important;
  }

  .std-offer .step__form-button-delete:before,
  .std-offer .remove-modular-item:before,
  .std-offer .step__form-button-delete:after,
  .std-offer .remove-modular-item:after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 16px !important;
    height: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--mg-calc-white) !important;
    pointer-events: none !important;
    transform-origin: center !important;
  }

  .std-offer .step__form-button-delete:before,
  .std-offer .remove-modular-item:before {
    transform: translate3d(-50%, -50%, 0) rotate(45deg) !important;
  }

  .std-offer .step__form-button-delete:after,
  .std-offer .remove-modular-item:after {
    transform: translate3d(-50%, -50%, 0) rotate(-45deg) !important;
  }

  .std-offer .step__select--empty,
  .std-offer .step__select--empty > *,
  .std-offer .step__select--empty:before,
  .std-offer .step__select--empty:after {
    content: none !important;
    display: none !important;
  }

  .std-offer .step__select--empty ~ .select2-container,
  .std-offer .step__select--empty ~ .step__form-control {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  .std-offer .step__form-modular-list__item--has-image .step__form-group.first:has(.step__select--empty) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

/* =============================================================================
   sd-mg-calc-force-hardening: !important override layer
   Force layer: csak a vizuális keretet erősíti, JS által vezérelt display állapotot nem ír felül.
   body .std-select2-dropdown → .std-select2-dropdown (D2 scope fix applied)
============================================================================= */
/* Force layer: csak a vizuális keretet erősíti, JS által vezérelt display állapotot nem ír felül. */
  .std-offer {
    position: relative !important;
    z-index: 0 !important;
    isolation: isolate !important;
    width: auto !important;
    max-width: none !important;
    margin: var(--sd-mg-section-y, 56px) 0 var(--sd-mg-section-y, 58px) !important;
    padding: 54px 0 !important;
    overflow: visible !important;
    color: var(--mg-calc-ink) !important;
    background: transparent !important;
    font-family: Rubik, Inter, Arial, sans-serif !important;
  }

  .std-offer:before {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 100vw !important;
    transform: translateX(-50%) !important;
    background: var(--mg-calc-soft) !important;
    pointer-events: none !important;
  }

  .std-offer > style,
  .std-offer input[type="hidden"],
  .std-offer .step__form-control--hidden {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .std-offer .category-landing-subtitle {
    width: min(100%, var(--sd-mg-container, 1170px)) !important;
    max-width: var(--sd-mg-container, 1170px) !important;
    margin: 0 auto 24px !important;
    padding: 0 !important;
    color: var(--mg-calc-blue) !important;
    font-size: var(--sd-mg-title, clamp(24px, 2.2vw, 32px)) !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: var(--sd-mg-title-line, 1.18) !important;
    text-transform: none !important;
  }

  .std-offer .step-labels {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: min(100%, var(--sd-mg-container, 1170px)) !important;
    max-width: var(--sd-mg-container, 1170px) !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
  }

  .std-offer .step-label {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    min-height: 64px !important;
    align-items: center !important;
    gap: 12px !important;
    border: 1px solid var(--mg-calc-line) !important;
    border-top: 4px solid transparent !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    color: var(--mg-calc-blue) !important;
    background: var(--mg-calc-white) !important;
    text-align: left !important;
  }

  .std-offer .step-labels:after,
  .std-offer .step-label:before,
  .std-offer .step-label:after {
    content: none !important;
    display: none !important;
  }

  .std-offer .step-label.active {
    border-color: var(--mg-calc-blue) !important;
    border-top-color: var(--mg-calc-red) !important;
    color: var(--mg-calc-white) !important;
    background: var(--mg-calc-blue) !important;
  }

  .std-offer .step-label__short {
    display: grid !important;
    width: 34px !important;
    height: 34px !important;
    place-items: center !important;
    border-radius: 50% !important;
    color: var(--mg-calc-white) !important;
    background: var(--mg-calc-blue) !important;
  }

  .std-offer .step-label__short i {
    display: none !important;
  }

  .std-offer .step-label__short:before {
    display: block !important;
    font-family: Rubik, Inter, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .std-offer .step-label-1 .step-label__short:before {
    content: "1" !important;
  }

  .std-offer .step-label-2 .step-label__short:before {
    content: "2" !important;
  }

  .std-offer .step-label-3 .step-label__short:before {
    content: "3" !important;
  }

  .std-offer .step-label-4 .step-label__short:before {
    content: "4" !important;
  }

  .std-offer .step-label.active .step-label__short {
    color: var(--mg-calc-blue) !important;
    background: var(--mg-calc-white) !important;
  }

  .std-offer .step__content {
    width: 100%;
    overflow: hidden !important;
    border: 0 !important;
    border-left: 5px solid var(--mg-calc-red) !important;
    border-radius: 8px !important;
    background: var(--mg-calc-white) !important;
    box-shadow: var(--mg-calc-shadow) !important;
  }

  .std-offer .step__body {
    padding: clamp(18px, 2.4vw, 28px) !important;
  }

  .std-offer .step__foot {
    border-top: 1px solid var(--mg-calc-line) !important;
    padding: 18px clamp(18px, 2.4vw, 28px) !important;
    background: #fbfcfd !important;
  }

  .std-offer .step__form-groups,
  .std-offer .step__form-groups--left,
  .std-offer .step__form-groups--right {
    gap: 18px !important;
    align-items: start !important;
    align-content: start !important;
  }

  .std-offer .step__form-label {
    margin: 0 0 9px !important;
    color: var(--mg-calc-blue) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.28 !important;
  }

  .std-offer .step__form-control,
  .std-offer .step__form-control--floorspace,
  .std-offer textarea.step__form-control {
    width: 100% !important;
    min-height: 46px !important;
    border: 1px solid #cbd3dc !important;
    border-radius: 8px !important;
    padding: 10px 13px !important;
    color: var(--mg-calc-ink) !important;
    background: var(--mg-calc-white) !important;
    font-family: Rubik, Inter, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
  }

  @media only screen and (768px <= width) {
    .std-offer .step-3 .step__form--entrance-door .step__form-control,
    .std-offer .step-3 .step__form--interior-door .step__form-control,
    .std-offer .step-3 .step__form--garage-door .step__form-control,
    .std-offer .step-3 .step__form--window .step__form-control {
      min-height: 87px !important;
    }
  }

  .std-offer .step__form-dynamic {
    position: relative !important;
  }

  .std-offer .step__form-dynamic .step__form-control,
  .std-offer .step__form-dynamic .step__form-control--floorspace,
  .std-offer .step__form-dynamic .step__form-control--quantity {
    padding-right: 64px !important;
  }

  .std-offer .step__hidden-input {
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 13px !important;
    display: flex !important;
    max-width: calc(100% - 28px) !important;
    align-items: center !important;
    transform: translateY(-50%) !important;
    color: var(--mg-calc-ink) !important;
    font-family: Rubik, Inter, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    font-variant-numeric: tabular-nums !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
  }

  .std-offer .step__hidden-input--value {
    opacity: 0 !important;
  }

  .std-offer .step__hidden-input--unit {
    margin-left: .18em !important;
  }

  .std-offer .step__form-select,
  .std-offer .step__form-select--flex-wrap,
  .std-offer .step__form-select--flex-wrap--33 {
    display: grid !important;
    gap: 10px !important;
  }

  .std-offer .step__form-select__item--image,
  .std-offer .step__form-select__item--color {
    display: grid !important;
    min-height: 132px !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 12px !important;
    border: 1px solid var(--mg-calc-line) !important;
    border-top: 4px solid transparent !important;
    border-radius: 8px !important;
    padding: 16px 12px !important;
    color: var(--mg-calc-blue) !important;
    background: var(--mg-calc-white) !important;
    font-family: Rubik, Inter, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.22 !important;
    text-align: center !important;
  }

  .std-offer .step__form-select__item--image img,
  .std-offer .step__form-select__item--color img,
  .std-offer .step__form-select__box img {
    width: 92px !important;
    height: 92px !important;
  }

  .std-offer .step__form-select__box.image-box {
    width: 104px !important;
    height: 92px !important;
  }

  .std-offer .step__form-select__item--image.active,
  .std-offer .step__form-select__item--image.selected,
  .std-offer .step__form-select__item--image.is-selected,
  .std-offer .step__form-select__item--color.active,
  .std-offer .step__form-select__item--color.selected,
  .std-offer .step__form-select__item--color.is-selected {
    border-color: var(--mg-calc-blue) !important;
    border-top-color: var(--mg-calc-red) !important;
    background: var(--mg-calc-blue-soft) !important;
    box-shadow: 0 14px 26px rgba(19, 63, 99, .12) !important;
  }

  .std-offer [class^="step__form-group"].has-error .step__form-label,
  .std-offer [class^="step__form-group"].has-warning .step__form-label,
  .std-offer [class^="step__form-group"].has-error .step__error,
  .std-offer [class^="step__form-group"].has-warning .step__error,
  .std-offer [class^="step__form-group"].has-error .step__error small,
  .std-offer [class^="step__form-group"].has-warning .step__error small,
  .std-offer .step__special-error.has-error,
  .std-offer .step__special-error.has-warning,
  .std-offer .step__special-error small {
    color: var(--mg-calc-red) !important;
  }

  .std-offer [class^="step__form-group"].has-error [class^="step__form-control"],
  .std-offer [class^="step__form-group"].has-warning [class^="step__form-control"],
  .std-offer [class^="step__form-group"].has-error .select2-selection,
  .std-offer [class^="step__form-group"].has-warning .select2-selection {
    border-color: var(--mg-calc-red) !important;
  }

  .std-offer [class^="step__form-group"].has-error .step__error,
  .std-offer [class^="step__form-group"].has-warning .step__error {
    display: block !important;
    margin: 7px 0 0 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.35 !important;
  }

  .std-offer .step__form-modular-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 68px !important;
    border: 1px dashed rgba(19, 63, 99, .24) !important;
    border-radius: 8px !important;
    padding: 14px !important;
    background: #fbfcfd !important;
  }

  .std-offer .step__form-modular-list:empty {
    grid-template-columns: 1fr !important;
  }

  .std-offer .step__form-modular-list > :only-child {
    grid-column: 1 / -1 !important;
  }

  .std-offer [class^="step__form-modular-list__item"] {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(88px, 112px) !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    align-items: start !important;
    border: 1px solid var(--mg-calc-line) !important;
    border-left: 5px solid var(--mg-calc-blue) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    background: var(--mg-calc-white) !important;
    box-shadow: 0 14px 30px rgba(19, 63, 99, .07) !important;
  }

  .std-offer [class^="step__form-modular-list__item"] .step__form-modular_list__title {
    grid-column: 1 / -1 !important;
    margin: 0 46px 0 0 !important;
    border: 0 !important;
    padding: 0 0 12px !important;
    color: var(--mg-calc-blue) !important;
    font-size: clamp(18px, 1.7vw, 22px) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
  }

  .std-offer .step__form-modular-list__item--has-image .step__form-group.first {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  .std-offer .step__form-modular-list__item--has-image .step__form-group.first .step__form-label,
  .std-offer .step__form-modular-list__item--has-image .step__form-group.first .step__error,
  .std-offer .step__form-modular-list__item--has-image .step__form-group.first .step__warning {
    grid-column: 1 / -1 !important;
  }

  .std-offer .step__form-modular_list__image--container,
  .std-offer .step__select--empty {
    display: grid !important;
    width: 108px !important;
    min-height: 44px !important;
    place-items: center !important;
    border: 1px solid #cbd3dc !important;
    border-right: 0 !important;
    border-radius: 8px 0 0 8px !important;
    background: #f7f9fb !important;
  }

  @media only screen and (768px <= width) {
    .std-offer .step__form-modular_list__image--container,
    .std-offer .step__select--empty {
      min-height: 87px !important;
    }
  }

  .std-offer .step__select--empty i {
    display: none !important;
  }

  .std-offer .step__select--empty:before {
    content: none !important;
    display: none !important;
  }

  .std-offer .step__form-modular_list__image--container img {
    display: block !important;
    max-width: 54px !important;
    max-height: 52px !important;
    object-fit: contain !important;
  }

  .std-offer .step__form-modular-list__item--has-image .select2-container {
    min-height: 87px !important;
    width: 100% !important;
  }

  .std-offer .step__form-modular-list__item--has-image .select2-container .selection {
    display: block !important;
    min-height: 87px !important;
  }

  .std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-selection--single {
    min-height: 87px !important;
    border: 1px solid #cbd3dc !important;
    border-radius: 0 8px 8px 0 !important;
    background: var(--mg-calc-white) !important;
  }

  .std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex !important;
    min-height: 85px !important;
    align-items: center !important;
    padding: 6px 36px 6px 14px !important;
    white-space: normal !important;
    color: var(--mg-calc-ink) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
    text-align: center;
  }

  .std-offer [class^="step__form-group"].has-error .step__select--empty,
  .std-offer [class^="step__form-group"].has-warning .step__select--empty {
    border-color: var(--mg-calc-red) !important;
  }

  .std-offer [class^="step__form-group"].has-error .select2-container--default .select2-selection--single,
  .std-offer [class^="step__form-group"].has-warning .select2-container--default .select2-selection--single {
    border-color: var(--mg-calc-red) !important;
  }

  .std-offer .step__form-modular-list__item--bulkhead {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .std-offer .step__form-button-delete,
  .std-offer .remove-modular-item {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 0 !important;
    color: var(--mg-calc-white) !important;
    background: var(--mg-calc-red) !important;
    display: grid !important;
    place-items: center !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  .std-offer .step__form-button-delete:before,
  .std-offer .remove-modular-item:before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 15px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: var(--mg-calc-white) !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .std-offer .step__form-button-delete:after,
  .std-offer .remove-modular-item:after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 15px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: var(--mg-calc-white) !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  .std-offer .step__form-button,
  .std-offer .step__form-button--secondary,
  .std-offer .step__form-button--primary {
    display: inline-flex !important;
    height: 44px !important;
    min-height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 8px !important;
    padding: 11px 16px !important;
    font-family: Rubik, Inter, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
  }

  .std-offer .step__form-button i,
  .std-offer .step__form-button--secondary i,
  .std-offer .step__form-button--primary i,
  .std-offer [class^="step__icon"] {
    display: inline-flex !important;
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }

  .std-offer .step__form-button i:before,
  .std-offer .step__form-button--secondary i:before,
  .std-offer .step__form-button--primary i:before {
    display: block !important;
    line-height: 1 !important;
  }

  .std-offer .step--summ[style*="display:none"],
  .std-offer .step--summ[style*="display: none"] {
    display: none !important;
  }

  .std-offer .step__foot .step--prev,
  .std-offer .step__foot .step--next,
  .std-offer .step__foot .step--summ {
    min-width: 120px !important;
  }

  .std-offer .add-modular-item {
    flex: 0 0 148px !important;
    width: 148px !important;
    max-width: 148px !important;
    min-height: 42px !important;
    font-size: 12px !important;
  }

  .std-offer .step__form-button--secondary,
  .std-offer .step__form-button--primary,
  .std-offer .step--submit {
    border-color: var(--mg-calc-red) !important;
    color: var(--mg-calc-white) !important;
    background: var(--mg-calc-red) !important;
  }

  .std-offer .step__form-button--secondary:hover,
  .std-offer .step__form-button--secondary:focus,
  .std-offer .step__form-button--primary:hover,
  .std-offer .step__form-button--primary:focus,
  .std-offer .step--submit:hover,
  .std-offer .step--submit:focus {
    border-color: var(--mg-calc-blue) !important;
    color: var(--mg-calc-white) !important;
    background: var(--mg-calc-blue) !important;
  }

  .std-offer .step__form-button-delete,
  .std-offer .remove-modular-item {
    display: grid !important;
    place-items: center !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  .std-offer .step__form-button-delete:before,
  .std-offer .remove-modular-item:before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 15px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: var(--mg-calc-white) !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .std-offer .step__form-button-delete:after,
  .std-offer .remove-modular-item:after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 15px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: var(--mg-calc-white) !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  @media (max-width: 767px) {
    .std-offer {
      margin: 42px 0 44px !important;
      padding: 40px 0 !important;
    }

    .std-offer .category-landing-subtitle {
      margin-bottom: 20px !important;
      font-size: var(--sd-mg-title-mobile, 26px) !important;
      line-height: var(--sd-mg-title-line, 1.18) !important;
    }

    .std-offer .step-labels {
      display: grid !important;
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      overflow: visible !important;
      padding: 0 !important;
    }

    .std-offer .step-label {
      min-height: 58px !important;
      padding: 9px 12px !important;
    }

    .std-offer .step__form-modular-list {
      grid-template-columns: 1fr !important;
    }

    .std-offer [class^="step__form-modular-list__item"],
    .std-offer .step__form-modular-list__item--bulkhead {
      grid-template-columns: 1fr !important;
      padding: 16px !important;
    }

    .std-offer [class^="step__form-modular-list__item"] .step__form-modular_list__title {
      margin-right: 54px !important;
      font-size: 22px !important;
    }

    .std-offer .step__content {
      border-left: 0 !important;
      border-top: 5px solid var(--mg-calc-red) !important;
    }

    .std-offer .step__body {
      padding: 16px 15px !important;
    }

    .std-offer .step__form-select__item--image,
    .std-offer .step__form-select__item--color {
      min-height: 116px !important;
      padding: 14px 10px !important;
      font-size: 12px !important;
    }

    .std-offer .step__form-select__item--image img,
    .std-offer .step__form-select__item--color img,
    .std-offer .step__form-select__box img {
      width: 78px !important;
      height: 78px !important;
    }

    .std-offer .step__form-select__box.image-box {
      width: 88px !important;
      height: 78px !important;
    }

    .std-offer .step__foot {
      padding: 15px !important;
    }

    .std-offer .step__form-modular-list__item--has-image .step__form-group.first {
      grid-template-columns: 87px minmax(0, 1fr) !important;
    }

    .std-offer .step__form-modular_list__image--container,
    .std-offer .step__select--empty {
      width: 87px !important;
      min-height: 87px !important;
    }

    .std-offer .step__select--empty i {
      display: none !important;
    }

    .std-offer .step__select--empty:before {
      content: none !important;
      display: none !important;
    }

    .std-offer .step__form-modular_list__image--container img {
      max-width: 45px !important;
      max-height: 42px !important;
    }

    .std-offer .step__form-modular-list__item--has-image .select2-container,
    .std-offer .step__form-modular-list__item--has-image .select2-container .selection,
    .std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-selection--single {
      min-height: 87px !important;
    }

    .std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-selection--single .select2-selection__rendered {
      min-height: 85px !important;
      padding: 6px 28px 6px 11px !important;
      white-space: normal !important;
      font-size: 12px !important;
      line-height: 1.25 !important;
    }

    .std-offer .step__form-modular-list__item--has-image .select2-container--default .select2-selection--single .select2-selection__arrow {
      right: 8px !important;
    }

    .std-offer .add-modular-item {
      flex-basis: 100% !important;
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important;
    }
  }

  /* Final micro-fixes: blank default image slot and delete icon alignment */
  .std-offer .step__form-button-delete,
  .std-offer .remove-modular-item {
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
  }

  .std-offer .step__form-button-delete > *,
  .std-offer .remove-modular-item > * {
    display: none !important;
  }

  .std-offer .step__form-button-delete:before,
  .std-offer .remove-modular-item:before,
  .std-offer .step__form-button-delete:after,
  .std-offer .remove-modular-item:after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 16px !important;
    height: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--mg-calc-white) !important;
    pointer-events: none !important;
    transform-origin: center !important;
  }

  .std-offer .step__form-button-delete:before,
  .std-offer .remove-modular-item:before {
    transform: translate3d(-50%, -50%, 0) rotate(45deg) !important;
  }

  .std-offer .step__form-button-delete:after,
  .std-offer .remove-modular-item:after {
    transform: translate3d(-50%, -50%, 0) rotate(-45deg) !important;
  }

  .std-offer .step__select--empty,
  .std-offer .step__select--empty > *,
  .std-offer .step__select--empty:before,
  .std-offer .step__select--empty:after {
    content: none !important;
    display: none !important;
  }

  .std-offer .step__select--empty ~ .select2-container,
  .std-offer .step__select--empty ~ .step__form-control {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  .std-offer .step__form-modular-list__item--has-image .step__form-group.first:has(.step__select--empty) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .std-offer .step__form-modular-list > .step__form-modular-list__item--bulkhead {
    grid-column: 1 / -1 !important;
  }

  .std-offer .step__form-modular-list__item--bulkhead {
    align-items: start !important;
  }

  .std-offer .step__form-modular-list__item--bulkhead .step__form-group {
    display: grid !important;
    grid-template-rows: minmax(34px, auto) 44px auto !important;
    align-content: start !important;
    align-items: start !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  .std-offer .step__form-modular-list__item--bulkhead .step__form-label {
    align-self: end !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  .std-offer .step__form-modular-list__item--bulkhead [class^="step__form-control"],
  .std-offer .step__form-modular-list__item--bulkhead .select2-container,
  .std-offer .step__form-modular-list__item--bulkhead .select2-selection {
    align-self: start !important;
  }

  .std-offer .step__form-modular-list__item--bulkhead .step__error,
  .std-offer .step__form-modular-list__item--bulkhead .step__warning {
    align-self: start !important;
    margin: 0 !important;
  }

  .std-offer .step__foot > p:has(+ #calculation-alert) {
    margin: 0 0 12px !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1.5 !important;
  }

  .std-offer .step__foot > p:has(+ #calculation-alert):before {
    content: "Az Ajánlatkérés elküldése gombra kattintva elfogadod az " !important;
    color: #191919 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
  }

  .std-offer .step__foot > p:has(+ #calculation-alert) b {
    display: none !important;
  }

  .std-offer .step__foot > p:has(+ #calculation-alert) a {
    display: inline !important;
    color: var(--mg-calc-red) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
  }

  .std-offer .step__foot > p:has(+ #calculation-alert) a:after {
    content: "." !important;
    color: #191919 !important;
  }

  .std-offer #calculation-alert.alert.alert-success {
    position: relative !important;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 12px !important;
    min-height: 74px !important;
    margin: 14px 0 18px !important;
    border: 1px solid rgba(19, 63, 99, .14) !important;
    border-left: 5px solid #25a55f !important;
    border-radius: 8px !important;
    padding: 16px 18px !important;
    color: transparent !important;
    background: #f4fbf7 !important;
    box-shadow: 0 14px 32px rgba(19, 63, 99, .10) !important;
    font-size: 0 !important;
    font-weight: 800 !important;
    line-height: 0 !important;
    overflow: hidden !important;
  }

  .std-offer #calculation-alert.alert.alert-success:before {
    content: "" !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 32px !important;
    height: 32px !important;
    justify-self: center !important;
    align-self: center !important;
    border-radius: 999px !important;
    background: #25a55f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22) !important;
  }

  .std-offer #calculation-alert.alert.alert-success:after {
    content: "Köszönjük, megkaptuk az ajánlatkérésed. Hamarosan elküldjük az ajánlatot a megadott elérhetőségeidre." !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    min-width: 0 !important;
    color: var(--mg-calc-blue) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
  }

  .std-offer #calculation-alert.alert.alert-success > *,
  .std-offer #calculation-alert.alert.alert-success .fa,
  .std-offer #calculation-alert.alert.alert-success .fas,
  .std-offer #calculation-alert.alert.alert-success .fa-solid,
  .std-offer #calculation-alert.alert.alert-success svg {
    display: none !important;
  }

  .std-offer #calculation-alert.alert.alert-success:not([style*="display: none"]):not([style*="display:none"]) {
    display: grid !important;
  }

  .std-offer #calculation-alert.alert.alert-success[style*="display: none"],
  .std-offer #calculation-alert.alert.alert-success[style*="display:none"] {
    display: none !important;
  }

  .std-offer #calculation-alert.alert.alert-danger {
    display: block !important;
    margin: 14px 0 18px !important;
    border: 1px solid rgba(237, 28, 36, .28) !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    color: var(--mg-calc-red) !important;
    background: rgba(237, 28, 36, .08) !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
  }

  .std-offer #calculation-alert.alert.alert-danger:before,
  .std-offer #calculation-alert.alert.alert-danger:after {
    content: none !important;
    display: none !important;
  }

  .std-select2-dropdown {
    border: 1px solid #cbd3dc !important;
    border-radius: 0 0 8px 8px !important;
    /* overflow: hidden !important; */
    background: #ffffff !important;
    box-shadow: 0 18px 42px rgba(19, 63, 99, .16) !important;
  }

  .std-select2-dropdown .select2-results,
  .std-select2-dropdown .select2-results > .select2-results__options {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .std-select2-dropdown .select2-results > .select2-results__options {
    max-height: 260px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .std-select2-dropdown .select2-results__option {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    color: #222222 !important;
    background: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    border: 0 !important;
    border-bottom: 1px solid #eef1f4 !important;
    box-sizing: border-box !important;
  }

  .std-select2-dropdown .select2-results__option:has(.step__select--empty) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .std-select2-dropdown .select2-results__option:last-child {
    border-bottom: 0 !important;
  }

  .std-select2-dropdown .select2-results__option--highlighted,
  .std-select2-dropdown .select2-results__option--highlighted[aria-selected] {
    color: #133f63 !important;
    background: #eef4f9 !important;
  }

  .std-select2-dropdown .select2-results__option--selected,
  .std-select2-dropdown .select2-results__option--selected[aria-selected] {
    color: #ffffff !important;
    background: #133f63 !important;
  }

  .std-select2-dropdown .step__select--empty {
    display: none !important;
  }

  .std-select2-dropdown .step__select--span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 94px !important;
    height: 86px !important;
    margin: 0 !important;
    border: 1px solid #d9e0e7 !important;
    border-radius: 6px !important;
    background: #f7f9fb !important;
  }

  .std-select2-dropdown .step__select--img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 84px !important;
    max-height: 72px !important;
    margin: 0 !important;
    object-fit: contain !important;
    vertical-align: middle !important;
  }

  .std-select2-dropdown .step__select--text {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  .std-select2-dropdown .step__select--empty + .step__select--text {
    grid-column: 1 / -1 !important;
  }

  .std-select2-dropdown .step__select--span + .step__select--text {
    grid-column: 2 !important;
  }

  @media (max-width: 767px) {
    .std-select2-dropdown .select2-results > .select2-results__options {
      max-height: 230px !important;
    }

    .std-select2-dropdown .select2-results__option {
      grid-template-columns: 84px minmax(0, 1fr) !important;
      min-height: 56px !important;
      gap: 10px !important;
      padding: 7px 10px !important;
      font-size: 12px !important;
    }

    .std-select2-dropdown .step__select--span {
      width: 76px !important;
      height: 76px !important;
    }

    .std-select2-dropdown .step__select--img {
      max-width: 60px !important;
      max-height: 64px !important;
    }
  }

  /* Larger non-color calculator visuals: roof type, roof cover and sandwich panel choices. */
  .std-offer .step__form-select__item--image {
    min-height: 168px !important;
    gap: 14px !important;
    padding: 18px 12px !important;
  }

  .std-offer .step__form-select__item--image > img,
  .std-offer .step__form-select__item--image .step__form-select__box img {
    width: 122px !important;
    height: 122px !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  .std-offer .step__form-select__item--image .step__form-select__box.image-box {
    width: 132px !important;
    height: 122px !important;
  }

  @media (max-width: 767px) {
    .std-offer .step__form-select__item--image {
      min-height: 148px !important;
      gap: 11px !important;
      padding: 16px 10px !important;
    }

    .std-offer .step__form-select__item--image > img,
    .std-offer .step__form-select__item--image .step__form-select__box img {
      width: 104px !important;
      height: 104px !important;
    }

    .std-offer .step__form-select__item--image .step__form-select__box.image-box {
      width: 114px !important;
      height: 104px !important;
    }
  }

/* Color selector items: zoom-in cursor on selected items to indicate lightbox opens on click. */
.std-offer .step__form-select__item--color.selected {
  cursor: zoom-in !important;
}
