/* =========================================================
   Lampart OMS — kontakt + mini konfigurator
   Shortcodes: [lampart_kontakt_konfigurator], [lampart_odbierz_demo]
   Refactor: 1.7.77
   ========================================================= */

.loms-help-widget,
.loms-help-widget *,
.loms-help-widget *::before,
.loms-help-widget *::after {
  box-sizing: border-box;
}

.loms-help-widget {
  width: min(100%, var(--loms-ip-container, 1440px));
  margin-inline: auto;
  padding: 64px 28px;
  position: relative;
}

/* Shortcode kontaktowy renderuje już wyłącznie konfigurator. */
.loms-help-widget.loms-help-widget--contact {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.loms-help-widget [hidden] {
  display: none !important;
}

.loms-help-widget button,
.loms-help-widget input,
.loms-help-widget select,
.loms-help-widget textarea {
  font: inherit;
}

.loms-help-widget button,
.loms-help-widget select {
  cursor: pointer;
}

.loms-help-widget__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0;
}

/* =========================================================
   Wspólna typografia nagłówków
   ========================================================= */

.loms-help-contact__title,
.loms-help-configurator__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.loms-help-contact__title {
  color: #191721;
}

.loms-help-configurator__title {
  color: #fff;
}

/* =========================================================
   Formularz kontaktowy
   ========================================================= */

.loms-help-contact {
  min-width: 0;
  padding: clamp(34px, 3.8vw, 54px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(106, 92, 255, .065), transparent 34%),
    #fff;
  box-shadow: 0 24px 62px -48px rgba(28, 23, 42, .42);
}

.loms-help-contact__head {
  margin-bottom: 32px;
}

.loms-help-contact__lead {
  max-width: 620px;
  margin: 14px 0 0;
}

.loms-help-contact__form {
  display: grid;
  gap: 20px;
}

.loms-help-contact__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.loms-help-field,
.loms-help-config-field {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.loms-help-field > .loms-help-field__label,
.loms-help-config-field > span {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.loms-help-field > .loms-help-field__label {
  color: #211d2d;
}

.loms-help-field input,
.loms-help-field select,
.loms-help-field textarea,
.loms-help-config-field input,
.loms-help-config-field textarea {
  width: 100%;
  margin: 0;
  border: 1px solid #dddce6;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  box-shadow: none;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

.loms-help-field input,
.loms-help-field select,
.loms-help-config-field input {
  min-height: 52px;
  padding: 0 16px;
}

.loms-help-field textarea {
  min-height: 150px;
  padding: 15px 16px;
  resize: vertical;
}

.loms-help-select {
  width: 100%;
  display: block;
  position: relative;
}

.loms-help-select::after {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  top: 50%;
  right: 20px;
  border-right: 2px solid #2b2638;
  border-bottom: 2px solid #2b2638;
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
}

.loms-help-select select {
  padding-right: 50px;
  appearance: none;
  -webkit-appearance: none;
  background-image: none !important;
}

.loms-help-field input:focus,
.loms-help-field select:focus,
.loms-help-field textarea:focus {
  border-color: #7565ff;
  box-shadow: 0 0 0 4px rgba(106, 92, 255, .1);
}

.loms-help-field input::placeholder,
.loms-help-field textarea::placeholder {
  color: #9a97a4;
  opacity: 1;
}

.loms-help-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  cursor: pointer;
}

.loms-help-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #6a5cff;
}

.loms-help-consent span {
  line-height: 1.55;
}

.loms-help-consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.loms-help-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* =========================================================
   Przyciski
   ========================================================= */

.loms-help-button {
  min-height: 0;
  padding: 12px 28px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 90px;
  color: #fff;
  background-image: linear-gradient(110deg, #5468ff 0%, #9b5cf6 48%, #5468ff 100%);
  background-size: 220% 100%;
  background-position: 0 50%;
  box-shadow: 0 16px 34px -18px rgba(84, 104, 255, .8);
  font-family: "Montserrat", sans-serif !important;
  font-size: 13px;
  font-weight: 600 !important;
  letter-spacing: .2px !important;
  text-transform: none;
  transition:
    background-position .5s cubic-bezier(.22, .61, .36, 1),
    box-shadow .2s ease,
    opacity .2s ease;
}

.loms-help-button:hover,
.loms-help-button:focus-visible {
  color: #fff;
  background-position: 100% 50%;
  box-shadow: 0 19px 38px -18px rgba(84, 104, 255, .95);
  transform: none;
}

.loms-help-button:focus-visible {
  outline: 3px solid rgba(106, 92, 255, .26);
  outline-offset: 3px;
}

.loms-help-button:disabled {
  cursor: wait;
  opacity: .58;
}

.loms-help-contact__submit {
  width: fit-content;
  min-width: 210px;
  margin-top: 4px;
}

.loms-help-contact__status {
  padding: 13px 15px;
  border-radius: 12px;
  line-height: 1.5;
}

.loms-help-contact__status.is-loading {
  color: #5145d7;
  background: #efedff;
}

.loms-help-contact__status.is-success {
  color: #176b40;
  background: #e8f8ef;
}

.loms-help-contact__status.is-error {
  color: #a92d36;
  background: #fff0f1;
}

/* =========================================================
   Banner "Umów rozmowę" / rozwijany konfigurator
   ========================================================= */

.loms-help-demo-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 62px -48px rgba(28, 23, 42, .42);
}

.loms-help-demo-card__summary {
  padding: clamp(34px, 3.8vw, 48px);
}

.loms-help-demo-card__title {
  max-width: 720px;
  margin: 0;
  color: #191721;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 2.7vw, 40px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.loms-help-demo-card__title strong {
  font-weight: 700;
}

.loms-help-demo-card__lead {
  max-width: 720px;
  margin: 16px 0 0;
  color: #3f3a48;
  font-size: 17px;
  line-height: 1.65;
}

.loms-help-demo-card__lead strong {
  color: #191721;
  font-weight: 700;
}

.loms-help-demo-card__divider {
  width: 100%;
  height: 1px;
  margin: 28px 0 24px;
  background: #e5e4e9;
}

.loms-help-demo-card__toggle {
  min-height: 50px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1.5px solid #1681ef;
  border-radius: 90px;
  color: #0877e6;
  background: transparent;
  font-family: "Montserrat", sans-serif !important;
  font-size: 14px;
  font-weight: 600 !important;
  line-height: 1;
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease;
}

.loms-help-demo-card__toggle:hover,
.loms-help-demo-card__toggle:focus-visible {
  border-color: #0877e6;
  color: #fff;
  background: #0877e6;
  transform: none;
}

.loms-help-demo-card__toggle:focus-visible {
  outline: 3px solid rgba(8, 119, 230, .18);
  outline-offset: 3px;
}

.loms-help-demo-card__toggle i {
  width: 14px;
  font-size: 13px;
  text-align: center;
}

.loms-help-demo-card__reveal {
  padding: 0 18px 18px;
}

.loms-help-demo-card__reveal[hidden] {
  display: none !important;
}

.loms-help-demo-card.is-expanded .loms-help-demo-card__summary {
  padding-bottom: 28px;
}

.loms-help-demo-card .loms-help-configurator {
  border-radius: 22px;
  box-shadow: none;
}

/* =========================================================
   Fullscreen shortcode: [lampart_odbierz_demo]
   ========================================================= */

.loms-help-widget--demo-fullscreen {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: clamp(88px, 10vh, 132px) 28px 64px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 15% 5%, rgba(106, 92, 255, .06), transparent 30%),
    #f6f7fa;
}

.loms-demo-fullscreen__inner {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.loms-help-configurator--fullscreen {
  width: 100%;
  min-height: min(760px, calc(100svh - 150px));
  border-radius: 28px;
}

.loms-help-configurator--fullscreen .loms-help-configurator__options--problems {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* =========================================================
   Mini konfigurator
   ========================================================= */

.loms-help-configurator {
  min-width: 0;
  min-height: 760px;
  padding: clamp(34px, 3.8vw, 54px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(106, 92, 255, .22), transparent 32%),
    radial-gradient(circle at 10% 100%, rgba(155, 92, 246, .12), transparent 32%),
    linear-gradient(145deg, #12101d, #171425 72%, #13111d);
  box-shadow: 0 28px 78px -44px rgba(18, 13, 35, .8);
}

.loms-help-configurator--embedded {
  min-height: 0;
}

.loms-help-configurator a,
.loms-help-configurator button {
  color: inherit;
}

.loms-help-configurator__head {
  position: relative;
}

.loms-help-configurator__heading {
  display: block;
}

/* Stara ikona play pozostaje ukryta — nagłówek ma być zgodny z językiem Lampart OMS. */
.loms-help-configurator__icon {
  display: none !important;
}

.loms-help-configurator__lead {
  max-width: 690px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .64);
}

/* =========================================================
   Pasek kroków
   ========================================================= */

.loms-help-configurator__tabs {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(var(--loms-config-step-count, 4), minmax(0, 1fr));
  gap: 12px;
}

.loms-help-configurator__tab {
  min-width: 0;
  padding: 0 0 13px;
  position: relative;
  border: 0;
  border-bottom: 3px solid rgba(255, 255, 255, .08);
  border-radius: 0;
  color: rgba(255, 255, 255, .4);
  background: transparent;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  transition: color .18s ease, border-color .18s ease;
}

.loms-help-configurator__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, #5468ff, #9b5cf6);
  opacity: 0;
  box-shadow: 0 0 15px rgba(106, 92, 255, .5);
  transition: opacity .18s ease;
}

.loms-help-configurator__tab.is-active,
.loms-help-configurator__tab.is-complete {
  color: rgba(255, 255, 255, .92);
}

.loms-help-configurator__tab.is-active::after,
.loms-help-configurator__tab.is-complete::after {
  opacity: 1;
}

.loms-help-configurator__tab.is-complete:not(:disabled) {
  cursor: pointer;
}

.loms-help-configurator__tab.is-active,
.loms-help-configurator__tab.is-locked,
.loms-help-configurator__tab:disabled {
  cursor: default;
}

.loms-help-configurator__tab.is-locked,
.loms-help-configurator__tab:disabled {
  opacity: .56;
}

/* =========================================================
   Kroki
   ========================================================= */

.loms-help-configurator__body {
  min-height: 430px;
  padding: 36px 0 30px;
  flex: 1 1 auto;
}

.loms-help-configurator__step {
  animation: loms-help-step-in .22s ease both;
}

@keyframes loms-help-step-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loms-help-configurator__step-head {
  margin-bottom: 24px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.loms-help-configurator__step-head h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.loms-help-configurator__step-head p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .56);
}

.loms-help-configurator__step-head > span {
  flex: 0 0 auto;
  padding-top: 5px;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  font-weight: 600;
}

.loms-help-configurator__options {
  display: grid;
  gap: 10px;
}

.loms-help-configurator__options--three,
.loms-help-configurator__options--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.loms-help-configurator__options--one {
  grid-template-columns: minmax(0, 1fr);
}

/* =========================================================
   Kategorie integracji
   ========================================================= */

.loms-help-configurator__options--integrations {
  max-height: 430px;
  padding-right: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 115, 255, .72) rgba(255, 255, 255, .06);
}

.loms-help-configurator__integration-groups {
  display: grid;
  gap: 28px;
}

.loms-help-integration-category {
  min-width: 0;
  display: grid;
  gap: 13px;
}

.loms-help-integration-category__head {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.loms-help-integration-category__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.loms-help-integration-category__copy strong {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.loms-help-integration-category__copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loms-help-integration-category__count {
  min-width: 30px;
  padding: 5px 8px;
  border-radius: 90px;
  color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .07);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.loms-help-configurator__category-grid {
  gap: 10px;
}

.loms-help-configurator__options--integrations::-webkit-scrollbar {
  width: 8px;
}

.loms-help-configurator__options--integrations::-webkit-scrollbar-track {
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
}

.loms-help-configurator__options--integrations::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: rgba(139, 115, 255, .72);
}

.loms-help-configurator__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  color: rgba(255, 255, 255, .66);
  background: rgba(255, 255, 255, .05);
}

/* =========================================================
   Kafelki — wspólna baza ciemna
   ========================================================= */

.loms-help-choice {
  min-width: 0;
  min-height: 86px;
  padding: 15px 16px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  color: rgba(255, 255, 255, .82);
  background: rgba(34, 30, 50, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  font-weight: 600;
  transition:
    border-color .2s ease,
    background-color .2s ease,
    box-shadow .2s ease,
    color .2s ease;
}

.loms-help-choice:hover,
.loms-help-choice:focus-visible {
  color: #fff;
  border-color: rgba(126, 104, 255, .72);
  background: rgba(45, 38, 69, .96);
  box-shadow: 0 14px 30px -24px rgba(106, 92, 255, .75);
  transform: none;
}

.loms-help-choice:focus-visible {
  outline: 3px solid rgba(106, 92, 255, .2);
  outline-offset: 2px;
}

.loms-help-choice.is-selected,
.loms-help-choice.is-selected:hover,
.loms-help-choice.is-selected:focus-visible {
  color: #fff;
  border-color: #806dff;
  background: linear-gradient(145deg, rgba(91, 72, 212, .38), rgba(45, 37, 70, .96));
  box-shadow:
    0 0 0 2px rgba(128, 109, 255, .15),
    0 16px 32px -25px rgba(106, 92, 255, .9);
}

/* =========================================================
   Kafelki integracji — ciemne
   ========================================================= */

.loms-help-choice--logo,
.loms-help-choice--integration {
  min-height: 88px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.loms-help-choice__logo {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loms-help-choice__logo img {
  max-width: min(100%, 150px);
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.loms-help-choice__fallback-icon {
  color: #aa9cff;
  font-size: 25px;
}

.loms-help-choice--integration .loms-help-choice__check {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 9px;
  right: 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: transparent;
  background: rgba(255, 255, 255, .07);
  box-shadow: none;
  font-size: 9px;
  transition:
    color .2s ease,
    border-color .2s ease,
    background-color .2s ease,
    box-shadow .2s ease;
}

.loms-help-choice--integration:hover .loms-help-choice__check,
.loms-help-choice--integration:focus-visible .loms-help-choice__check {
  border-color: rgba(128, 109, 255, .8);
  background: rgba(128, 109, 255, .18);
}

.loms-help-choice--integration.is-selected .loms-help-choice__check {
  color: #fff;
  border-color: #806dff;
  background: #6a5cff;
  box-shadow: 0 0 0 3px rgba(106, 92, 255, .14);
}

/* =========================================================
   Kafelki problemów
   ========================================================= */

.loms-help-configurator__options--problems,
.loms-help-configurator__options--systems {
  align-items: stretch;
}

.loms-help-choice--problem {
  min-height: 100px;
  padding: 16px;
  display: grid;
  grid-template-columns: 24px 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  text-align: left;
}

.loms-help-choice__checkmark,
.loms-help-choice__radio {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: transparent;
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
  font-size: 9px;
  transition:
    color .2s ease,
    border-color .2s ease,
    background-color .2s ease,
    box-shadow .2s ease;
}

.loms-help-choice--problem:hover .loms-help-choice__checkmark,
.loms-help-choice--problem:focus-visible .loms-help-choice__checkmark,
.loms-help-choice--system:hover .loms-help-choice__radio,
.loms-help-choice--system:focus-visible .loms-help-choice__radio {
  border-color: rgba(128, 109, 255, .82);
  background: rgba(128, 109, 255, .15);
}

.loms-help-choice--problem.is-selected .loms-help-choice__checkmark {
  color: #fff;
  border-color: #6a5cff;
  background: #6a5cff;
  box-shadow: 0 0 0 3px rgba(106, 92, 255, .12);
}

.loms-help-choice__problem-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #a99dff;
  font-size: 20px;
}

.loms-help-choice__copy {
  min-width: 0;
  display: grid;
  gap: 5px;
  text-align: left;
}

.loms-help-choice__copy strong {
  color: #fff;
  line-height: 1.3;
}

.loms-help-choice__copy small {
  color: rgba(255, 255, 255, .5);
  font-weight: 400;
  line-height: 1.45;
}

/* =========================================================
   Kafelki systemów OMS — ciemne
   ========================================================= */

.loms-help-choice--system,
.loms-help-choice--system.has-logo,
.loms-help-choice--system.has-icon {
  min-height: 100px;
  padding: 16px;
  display: grid;
  align-items: center;
  justify-items: start;
  gap: 12px;
  text-align: left;
}

.loms-help-choice--system.has-logo {
  grid-template-columns: 24px minmax(0, 1fr);
}

.loms-help-choice--system.has-icon {
  grid-template-columns: 24px 42px minmax(0, 1fr);
}

.loms-help-choice__radio i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background-color .2s ease;
}

.loms-help-choice--system.is-selected .loms-help-choice__radio {
  border-color: #806dff;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 3px rgba(106, 92, 255, .12);
}

.loms-help-choice--system.is-selected .loms-help-choice__radio i {
  background: #806dff;
}

.loms-help-choice__system-visual {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.loms-help-choice--system.has-logo .loms-help-choice__system-visual {
  width: auto;
  max-width: min(240px, 100%);
}

.loms-help-choice--system.has-logo .loms-help-choice__system-visual img {
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
  margin: 0;
}

.loms-help-choice__system-visual.is-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #b0a5ff;
  background: rgba(128, 109, 255, .13);
  border-radius: 10px;
  font-size: 20px;
}

.loms-help-choice--system .loms-help-choice__copy {
  width: 100%;
  justify-items: start;
  text-align: left;
}

.loms-help-choice--system .loms-help-choice__copy strong {
  color: #fff;
}

/* =========================================================
   Dostępność
   ========================================================= */

.loms-help-sr-only {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  position: absolute !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================
   Pola konfiguratora
   ========================================================= */

.loms-help-config-field > span,
.loms-help-configurator__problem-details-inner > span {
  color: rgba(255, 255, 255, .78);
}

.loms-help-configurator__problem-details {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-rows: 0fr;
  gap: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition:
    grid-template-rows .34s cubic-bezier(.22, 1, .36, 1),
    margin-top .34s cubic-bezier(.22, 1, .36, 1),
    opacity .22s ease,
    transform .34s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear .34s;
}

.loms-help-configurator__problem-details-inner {
  display: flex !important;
  min-height: 0;
  margin: 0 !important;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
}

.loms-help-configurator__problem-details.is-visible {
  grid-template-rows: 1fr;
  margin-top: 20px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    grid-template-rows .34s cubic-bezier(.22, 1, .36, 1),
    margin-top .34s cubic-bezier(.22, 1, .36, 1),
    opacity .22s ease .04s,
    transform .34s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear 0s;
}

.loms-help-configurator__problem-details-label,
.loms-help-configurator__email-label {
  display: inline-flex !important;
  align-items: baseline;
  gap: 3px;
}

.loms-help-configurator__required {
  display: inline !important;
  margin: 0 !important;
  color: #ff6d66 !important;
  font-weight: 700 !important;
}

.loms-help-configurator__problem-details textarea,
.loms-help-configurator__other-system input,
.loms-help-configurator__email-field input {
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  background: rgba(255, 255, 255, .07) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: #fff !important;
  outline: 0 !important;
  transition:
    border-color .2s ease,
    background-color .2s ease,
    box-shadow .2s ease !important;
}

.loms-help-configurator__problem-details textarea {
  min-height: 132px !important;
  line-height: 1.6 !important;
  resize: vertical;
}

.loms-help-configurator__other-system,
.loms-help-configurator__email-field {
  width: 100%;
  max-width: none;
  margin-top: 20px;
}

.loms-help-configurator__email-field {
  max-width: 560px;
}

.loms-help-configurator__other-system input,
.loms-help-configurator__email-field input {
  min-height: 47px !important;
}

.loms-help-configurator__problem-details textarea::placeholder,
.loms-help-configurator__other-system input::placeholder,
.loms-help-configurator__email-field input::placeholder {
  color: rgba(255, 255, 255, .36) !important;
  opacity: 1;
}

.loms-help-configurator__problem-details textarea:focus,
.loms-help-configurator__other-system input:focus,
.loms-help-configurator__email-field input:focus {
  background: rgba(255, 255, 255, .1) !important;
  border-color: rgba(136, 116, 255, .82) !important;
  box-shadow: 0 0 0 3px rgba(123, 92, 255, .12) !important;
}

.loms-help-configurator__field-error {
  display: block;
  margin-top: -1px;
  color: #ff8c86 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.loms-help-configurator__field-error[hidden] {
  display: none !important;
}

.loms-help-configurator__problem-details.has-error textarea,
.loms-help-configurator__problem-details textarea[aria-invalid="true"],
.loms-help-configurator__email-field.has-error input,
.loms-help-configurator__email-field input[aria-invalid="true"] {
  border-color: rgba(255, 90, 82, .86) !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 82, .12) !important;
}

/* =========================================================
   Błąd kroku
   ========================================================= */

.loms-help-configurator__error {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: #ffd2d7;
  background: rgba(190, 43, 59, .16);
  line-height: 1.5;
}

/* =========================================================
   Stopka konfiguratora
   ========================================================= */

.loms-help-configurator__footer {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.loms-help-configurator__back {
  min-height: 0;
  padding: 12px 18px !important;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  color: rgba(255, 255, 255, .64);
  background: transparent;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: .2px !important;
}

.loms-help-configurator__back:hover,
.loms-help-configurator__back:focus-visible {
  color: #fff;
  transform: none;
}

.loms-help-configurator__back:disabled {
  cursor: default;
  opacity: .3;
}

.loms-help-configurator__next {
  min-width: 180px;
}

/* =========================================================
   Loader wysyłki / przejście do thank-you
   ========================================================= */

body.loms-config-is-submitting {
  overflow: hidden !important;
}

.loms-config-submit-overlay[hidden] {
  display: none !important;
}

.loms-config-submit-overlay {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 15, 27, .46);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition: opacity .2s ease, visibility 0s linear .2s;
}

.loms-config-submit-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease, visibility 0s linear 0s;
}

.loms-config-submit-overlay__card {
  width: min(100%, 360px);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(25, 23, 33, .24);
  transform: translateY(8px) scale(.985);
  transition: transform .24s cubic-bezier(.22, 1, .36, 1);
}

.loms-config-submit-overlay.is-visible .loms-config-submit-overlay__card {
  transform: translateY(0) scale(1);
}

.loms-config-submit-overlay__spinner {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 3px solid rgba(123, 92, 255, .16);
  border-top-color: #7b5cff;
  border-radius: 50%;
  animation: loms-config-spinner .78s linear infinite;
}

.loms-config-submit-overlay__card strong {
  margin: 0;
  color: #191721;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.loms-config-submit-overlay__card > span:last-child {
  margin-top: 7px;
  color: #716c79;
  font-size: 14px;
  line-height: 1.55;
}

@keyframes loms-config-spinner {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  .loms-help-widget__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .loms-help-contact,
  .loms-help-configurator {
    padding: 34px;
  }

  .loms-help-demo-card__summary {
    padding: 34px;
  }

  .loms-help-configurator__options--three,
  .loms-help-configurator__options--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .loms-help-widget {
    padding-block: 48px;
  }

  .loms-help-widget__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .loms-help-configurator {
    min-height: 0;
  }

  .loms-help-demo-card__summary {
    padding: 36px;
  }

  .loms-help-widget--demo-fullscreen {
    padding-top: 72px;
    padding-bottom: 48px;
  }

  .loms-help-configurator--fullscreen {
    min-height: calc(100svh - 120px);
  }

  .loms-help-configurator__options--three,
  .loms-help-configurator__options--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .loms-help-widget {
    padding: 34px 16px;
  }

  .loms-help-contact,
  .loms-help-configurator {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .loms-help-demo-card {
    border-radius: 20px;
  }

  .loms-help-demo-card__summary {
    padding: 30px 22px;
  }

  .loms-help-demo-card__title {
    font-size: 30px;
  }

  .loms-help-demo-card__lead {
    font-size: 16px;
  }

  .loms-help-demo-card__toggle {
    width: 100%;
  }

  .loms-help-demo-card__reveal {
    padding: 0 10px 10px;
  }

  .loms-help-widget--demo-fullscreen {
    min-height: 100svh;
    padding: 42px 16px 28px;
  }

  .loms-help-configurator--fullscreen {
    min-height: calc(100svh - 70px);
  }

  .loms-help-configurator--fullscreen .loms-help-configurator__options--problems {
    grid-template-columns: 1fr;
  }

  .loms-help-contact__title,
  .loms-help-configurator__title {
    font-size: 30px;
  }

  .loms-help-contact__row,
  .loms-help-configurator__options--two,
  .loms-help-configurator__options--three {
    grid-template-columns: 1fr;
  }

  .loms-help-configurator__tabs {
    grid-template-columns: repeat(var(--loms-config-step-count, 4), minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
  }

  .loms-help-configurator__tab {
    font-size: 10.5px;
    text-align: center;
  }

  .loms-help-configurator__body {
    min-height: 0;
    padding-top: 30px;
  }

  .loms-help-configurator__step-head {
    display: grid;
  }

  .loms-help-configurator__step-head > span {
    padding-top: 0;
  }

  .loms-help-configurator__footer {
    align-items: stretch;
  }

  .loms-help-configurator__next {
    min-width: 0;
  }

  .loms-help-integration-category__copy strong {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .loms-help-contact,
  .loms-help-configurator {
    padding-inline: 18px;
  }

  .loms-help-demo-card__summary {
    padding-inline: 20px;
  }

  .loms-help-demo-card__title {
    font-size: 28px;
  }

  .loms-help-contact__title,
  .loms-help-configurator__title {
    font-size: 28px;
  }

  .loms-help-contact__submit {
    width: 100%;
  }

  .loms-help-configurator__footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .loms-help-configurator__next {
    width: 100%;
  }

  .loms-help-choice--problem {
    grid-template-columns: 24px 34px minmax(0, 1fr);
  }

  .loms-help-choice--system.has-icon {
    grid-template-columns: 24px 38px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loms-help-widget *,
  .loms-help-widget *::before,
  .loms-help-widget *::after,
  .loms-config-submit-overlay,
  .loms-config-submit-overlay__card {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   1.7.75 — Odbierz demo korzysta bezpośrednio z warstwy
   wizualnej głównego konfiguratora integracji (.loms-ip-*)
   ========================================================= */

body.loms-help-demo-fullscreen-active {
  overflow: hidden !important;
  background: #f4f5f9 !important;
}

/* Shortcode jest tylko pełnoekranową osłoną.
   Kolory, karta, logo, postęp, pola i przyciski pochodzą
   bezpośrednio z lampart-integrations.css. */
.loms-help-widget--demo-fullscreen {
  position: fixed !important;
  z-index: 2147482000 !important;
  inset: 0 !important;

  width: 100vw !important;
  max-width: none !important;
  height: 100svh;
  min-height: 100svh;

  margin: 0 !important;
  padding: 0 !important;

  overflow-x: hidden;
  overflow-y: auto;

  background: #f4f5f9 !important;

  overscroll-behavior: contain;
}

.loms-help-widget--demo-fullscreen > .loms-demo-ip-wizard {
  width: 100%;
  min-height: 100svh;
}

/* Główny konfigurator ma 3 kroki, demo ma 4.
   Zmieniamy wyłącznie liczbę kolumn, bez zmiany stylistyki paska. */
.loms-help-widget--demo-fullscreen .loms-demo-ip-wizard__progress {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* Dodatkowy krok "Integracje" nie istnieje w głównym wizardzie,
   dlatego dostaje jedynie układ. Kafelki nadal są standardowymi
   .loms-ip-wizard-option. */
.loms-demo-ip-wizard__integration-status {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.loms-demo-ip-wizard__integrations-conditional {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid #ece9f0;
}

.loms-demo-ip-wizard__integrations-conditional[hidden] {
  display: none !important;
}

.loms-demo-ip-wizard__integration-groups {
  display: grid;
  gap: 28px;

  max-height: min(48vh, 540px);
  padding-right: 7px;

  overflow-x: hidden;
  overflow-y: auto;

  scrollbar-width: thin;
  scrollbar-color: #b6acd2 #efedf4;
}

.loms-demo-ip-wizard__integration-groups::-webkit-scrollbar {
  width: 8px;
}

.loms-demo-ip-wizard__integration-groups::-webkit-scrollbar-track {
  background: #efedf4;
  border-radius: 999px;
}

.loms-demo-ip-wizard__integration-groups::-webkit-scrollbar-thumb {
  background: #b6acd2;
  border-radius: 999px;
}

.loms-demo-ip-wizard__integration-category {
  min-width: 0;
}

.loms-demo-ip-wizard__integration-category-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 18px;

  margin-bottom: 14px;
}

.loms-demo-ip-wizard__integration-category-copy {
  min-width: 0;

  display: grid;
  gap: 4px;
}

.loms-demo-ip-wizard__integration-category-copy strong {
  color: #191721;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.loms-demo-ip-wizard__integration-category-copy small {
  color: #77717f;
  font-size: 13px;
  line-height: 1.45;
}

.loms-demo-ip-wizard__integration-category-count {
  flex: 0 0 auto;

  min-width: 31px;
  height: 27px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 8px;

  color: #6f6878;
  background: #f0eef4;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;
}

.loms-demo-ip-wizard__integration-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* W kroku Integracje pokazujemy wyłącznie logotypy.
   Nazwa pozostaje w aria-label/title oraz data-label dla JS i podsumowania. */
.loms-demo-ip-wizard-option--integration {
  position: relative;

  min-height: 92px;

  justify-content: center !important;
  text-align: center !important;

  padding: 16px 18px !important;
}

.loms-demo-ip-wizard-option--integration .loms-ip-wizard-option__check {
  position: absolute;
  z-index: 2;

  top: 10px;
  right: 10px;

  margin: 0;
}

.loms-demo-ip-wizard-option__integration-logo {
  flex: 0 1 124px;

  width: 100%;
  max-width: 124px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.loms-demo-ip-wizard-option__integration-logo img {
  display: block;

  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 44px;

  object-fit: contain;
}

.loms-demo-ip-wizard-option__integration-logo > i {
  color: #6c50d1;
  font-size: 24px;
}

/* Komunikat błędu tworzony dynamicznie przez JS.
   Klasa .loms-ip-wizard__error daje mu identyczny wygląd
   jak w konfiguratorze integracji. */
.loms-help-widget--demo-fullscreen .loms-help-configurator__error {
  margin-top: 16px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
  .loms-demo-ip-wizard__integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .loms-help-widget--demo-fullscreen .loms-demo-ip-wizard__progress {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px;
  }

  .loms-help-widget--demo-fullscreen .loms-ip-wizard-progress__item small {
    gap: 3px;
  }

  .loms-help-widget--demo-fullscreen .loms-ip-wizard-progress__item small {
    font-size: 9px;
  }

  .loms-demo-ip-wizard__integration-status {
    grid-template-columns: 1fr;
  }

  .loms-demo-ip-wizard__integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loms-demo-ip-wizard__integration-groups {
    max-height: none;
    padding-right: 0;
  }

  .loms-demo-ip-wizard__integration-category-head {
    gap: 12px;
  }

  .loms-demo-ip-wizard__integration-category-copy strong {
    font-size: 16px;
  }

  .loms-demo-ip-wizard-option--integration {
    min-height: 82px;
    padding: 14px !important;
  }

  .loms-demo-ip-wizard-option__integration-logo {
    flex-basis: 100px;
    width: 100%;
    max-width: 100px;
    height: 42px;
  }
}

@media (max-width: 430px) {
  .loms-help-widget--demo-fullscreen .loms-ip-wizard-progress__number {
    display: none !important;
  }

  .loms-help-widget--demo-fullscreen .loms-ip-wizard-progress__item small {
    justify-content: flex-start;
  }
}
