/* OKGBI mobile home dev readability experiment */
body.okgbi-mobile-home-ready {
  background: inherit !important;
  color: inherit !important;
  overflow-x: visible !important;
}

body.okgbi-mh-quiz-open {
  overflow: hidden;
}

body.okgbi-mobile-home-ready .intec-template-header,
body.okgbi-mobile-home-ready .intec-template-page,
body.okgbi-mobile-home-ready .intec-template-footer,
body.okgbi-mobile-home-ready .c-footer {
  display: revert !important;
}

.okgbi-mobile-home-v1 {
  display: none !important;
}

@media all and (min-width: 721px) {
  body.okgbi-mobile-home-ready .sale-basket-small-panel,
  body.okgbi-mobile-home-ready .ns-intec-universe.c-sale-basket-small .sale-basket-small-panel,
  body.okgbi-mobile-home-ready .ns-bitrix.c-sale-basket-small-panel {
    display: none !important;
  }
}

@media all and (max-width: 720px) {
  body.okgbi-mobile-home-ready .ns-intec-universe.c-sale-basket-small .sale-basket-small-panel {
    display: block !important;
  }
}

@media all and (max-width: 768px) {
  .c-slider.c-slider-template-2 .widget-mobile .widget-item1 {
    overflow: hidden;
    background-position: 60% center !important;
  }

  .c-slider.c-slider-template-2 .widget-mobile .widget-item1 .widget-item-fade {
    background:
      linear-gradient(180deg, rgba(7, 17, 28, .26) 0%, rgba(7, 17, 28, .7) 100%),
      linear-gradient(90deg, rgba(7, 17, 28, .78) 0%, rgba(7, 17, 28, .48) 56%, rgba(7, 17, 28, .24) 100%) !important;
  }

  .c-slider.c-slider-template-2 .widget-mobile .widget-item-wrapper {
    min-height: 380px;
    height: 380px !important;
  }

  .c-slider.c-slider-template-2 .widget-mobile .widget-item-content {
    max-width: calc(100% - 32px);
    margin: 0 auto;
    padding: 22px 20px !important;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(6, 20, 34, .74);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .26);
    text-align: left !important;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  .c-slider.c-slider-template-2 .widget-mobile .widget-item-header[data-view] {
    max-width: 290px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    line-height: 32px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .32);
  }

  .c-slider.c-slider-template-2 .widget-mobile .widget-item-description,
  .c-slider.c-slider-template-2 .widget-mobile .widget-item-description[data-view] {
    display: block;
    max-height: none;
    margin-top: 10px;
    overflow: visible;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    line-height: 20px;
    -webkit-line-clamp: unset;
  }

  .c-slider.c-slider-template-2 .widget-mobile .widget-item-description p {
    margin: 0;
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .c-slider.c-slider-template-2 .widget-mobile .widget-item-buttons[data-view] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }

  .c-slider.c-slider-template-2 .widget-mobile .widget-item-buttons[data-view] .widget-item-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 22px rgba(0, 91, 157, .28);
  }

  .c-slider.c-slider-template-2 .widget-mobile .widget-item-buttons[data-view] .widget-item-button.okgbi-mh-calc {
    background: #fff !important;
    color: #0b4f81 !important;
    box-shadow: 0 12px 22px rgba(255, 255, 255, .14);
  }

  .okgbi-mh-quiz[hidden] {
    display: none !important;
  }

  .okgbi-mh-quiz {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-family: inherit;
  }

  .okgbi-mh-quiz__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 13, 24, .58);
  }

  .okgbi-mh-quiz__panel {
    position: relative;
    width: min(100%, 460px);
    max-height: calc(100dvh - 18px);
    padding: 22px 18px 18px;
    border-radius: 18px 18px 0 0;
    background: #fff;
    color: #132033;
    box-shadow: 0 -24px 54px rgba(0, 0, 0, .28);
    overflow-y: auto;
    animation: okgbiMhQuizIn .18s ease both;
  }

  @keyframes okgbiMhQuizIn {
    from { transform: translateY(18px); opacity: .88; }
    to { transform: translateY(0); opacity: 1; }
  }

  .okgbi-mh-quiz__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #edf4fb;
    color: #1c2b3e;
    font-size: 24px;
    line-height: 1;
  }

  .okgbi-mh-quiz__eyebrow {
    margin: 0 44px 7px 0;
    color: #0874c8;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
  }

  .okgbi-mh-quiz__title {
    margin: 0 44px 14px 0;
    color: #111c2b;
    font-size: 21px;
    line-height: 26px;
    font-weight: 900;
    letter-spacing: 0;
  }

  .okgbi-mh-quiz__progress {
    height: 6px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #e5eef7;
    overflow: hidden;
  }

  .okgbi-mh-quiz__progress span {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #087fe0, #045da9);
    transition: width .18s ease;
  }

  .okgbi-mhq-options {
    display: grid;
    gap: 9px;
  }

  .okgbi-mhq-options--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .okgbi-mhq-option {
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #d8e5f1;
    border-radius: 8px;
    background: #fff;
    color: #243247;
    font: inherit;
    font-size: 14px;
    line-height: 18px;
    font-weight: 850;
    text-align: left;
  }

  .okgbi-mhq-option.is-selected {
    border-color: #0874c8;
    background: #edf7ff;
    color: #075c9d;
    box-shadow: inset 0 0 0 1px rgba(8, 116, 200, .18);
  }

  .okgbi-mhq-label {
    display: block;
    margin: 16px 0 8px;
    color: #5e6b7d;
    font-size: 13px;
    line-height: 18px;
    font-weight: 850;
  }

  .okgbi-mhq-summary {
    margin: 0 0 14px;
    color: #5b6879;
    font-size: 14px;
    line-height: 20px;
  }

  .okgbi-mhq-summary b {
    color: #075c9d;
  }

  .okgbi-mhq-field {
    display: grid;
    gap: 7px;
    margin-top: 10px;
    color: #344255;
    font-size: 13px;
    font-weight: 850;
  }

  .okgbi-mhq-field input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #d8e5f1;
    border-radius: 8px;
    color: #142033;
    font: inherit;
    font-size: 16px;
    font-weight: 750;
  }

  .okgbi-mhq-policy {
    margin: 12px 0 0;
    color: #788497;
    font-size: 12px;
    line-height: 17px;
  }

  .okgbi-mhq-error {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff1f1;
    color: #b42318;
    font-size: 13px;
    line-height: 18px;
    font-weight: 800;
  }

  .okgbi-mh-quiz__actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .okgbi-mh-quiz[data-step="1"] .okgbi-mh-quiz__actions {
    grid-template-columns: 1fr;
  }

  .okgbi-mh-quiz[data-step="1"] .okgbi-mh-quiz__next {
    width: 100%;
  }

  .okgbi-mh-quiz__back,
  .okgbi-mh-quiz__next {
    min-height: 48px;
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
    font-weight: 900;
  }

  .okgbi-mh-quiz__back {
    padding: 0 16px;
    border: 1px solid #d8e5f1;
    background: #fff;
    color: #516074;
  }

  .okgbi-mh-quiz__next {
    border: 0;
    background: linear-gradient(180deg, #087fe0 0%, #035fac 100%);
    color: #fff;
    box-shadow: 0 12px 22px rgba(8, 111, 199, .22);
  }

  .okgbi-mh-quiz__next:disabled {
    opacity: .72;
    cursor: wait;
  }

  .okgbi-mh-quiz__thanks {
    display: none;
    margin-top: 14px;
    padding: 13px 14px;
    border-radius: 8px;
    background: #eefaf2;
    color: #1f773c;
    font-size: 14px;
    line-height: 19px;
    font-weight: 850;
  }

  .okgbi-mh-quiz.is-sent .okgbi-mh-quiz__body,
  .okgbi-mh-quiz.is-sent .okgbi-mh-quiz__actions {
    display: none;
  }

  .okgbi-mh-quiz.is-sent .okgbi-mh-quiz__thanks {
    display: block;
  }
}

@media all and (max-width: 420px) {
  .c-slider.c-slider-template-2 .widget-mobile .widget-item-wrapper {
    min-height: 400px;
    height: 400px !important;
  }

  .c-slider.c-slider-template-2 .widget-mobile .widget-item-content {
    max-width: calc(100% - 26px);
    padding: 20px 18px !important;
  }

  .c-slider.c-slider-template-2 .widget-mobile .widget-item-header[data-view] {
    font-size: 26px;
    line-height: 30px;
  }
}
