/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/sourcesanspro-black-webfont.woff2') format('woff2'),
       url('../fonts/sourcesanspro-black-webfont.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/sourcesanspro-bold-webfont.woff2') format('woff2'),
       url('../fonts/sourcesanspro-bold-webfont.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/sourcesanspro-light-webfont.woff2') format('woff2'),
       url('../fonts/sourcesanspro-light-webfont.woff') format('woff');
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/sourcesanspro-regular-webfont.woff2') format('woff2'),
       url('../fonts/sourcesanspro-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/sourcesanspro-semibold-webfont.woff') format('woff2'),
       url('../fonts/sourcesanspro-semibold-webfont.woff2') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/sourcesanspro-semiboldit-webfont.woff') format('woff2'),
       url('../fonts/sourcesanspro-semiboldit-webfont.woff2') format('woff');
  font-weight: 600;
  font-style: italic;
}

/* Reset */
.page-template-page-selecteur {
  header.site-header, footer.fl-builder-content, #ast-scroll-top {
    display: none!important;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

* {
  box-sizing: border-box;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#osi-planeur-selector {
  font-family: 'Source Sans Pro';
  color: #50555B;

  * {
    font-family: 'Source Sans Pro';
  }

  h2 {
    margin-bottom: 15px;
  }
}

.osi-ps {
  width: 100%;
  font-family: 'Source Sans Pro';

  hr {
    width: 50px;
    border: 0;
    border-top: 1px solid #f15a21;
    margin-bottom: 15px;
  }
}

/* ==========================================================================
   Layout
   ========================================================================== */

.osi-ps__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding-bottom: 100px;
  padding: 0 15px 45px;
}

.osi-ps__body {
  position: relative;
  min-height: 350px;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 50px;
  padding-bottom: 50px;
}

.osi-ps__step,
.osi-ps__screen {
  width: 100%;
}

.osi-ps__title {
  margin: 0 0 24px;
  font-size: 2rem;
  line-height: 1.1;
  color: #50555B;
  text-transform: none;
}

.osi-ps__group-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.osi-ps__group-header-logo {
  margin-bottom: 20px;
}

.osi-ps__group-header-desc {
  font-size: 16px;
  color: #50555B;
}

.osi-ps__step-heading {
  margin-bottom: 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.osi-ps__head {
  display: flex;

  div {
    &:first-of-type {
      display: flex;
      align-items: center;

      img {
        width: 170px;
        height: auto;
        margin-right: 25px;
        border-right: 2px solid #50555B;
        padding-right: 45px;
      }

      p {
        color: #707070;
        font-size: 17px;
        font-weight: normal;
        margin: 0;
        line-height: 1.3;
      }
    }

    &:last-of-type {
      flex-grow: 1;
      width: 100%;
      padding-left: 70px;

      span {
        display: block;
        width: 100%;
        height: 70px;
        flex-grow: 1;
        background-color: #F15A22;
        border-bottom: 12px solid #e0e1e2;
        border-radius: 0 35px 0 0;
      }

      &:after {
        content: '';
        display: block;
        width: 100%;
        height: 4px;
        background-color: #707070;
      }
    }
  }
}

/* ==========================================================================
   Intro
   ========================================================================== */

.osi-ps__screen--intro {
  text-align: center;

  h2 {
    font-weight: bold;
  }

  img,
  .osi-ps__btn {
    display: table;
    margin: 0 auto;
  }
}

.osi-ps__intro-image {
  margin-bottom: 24px;
  background-color: #e0e1e2;
}

.osi-ps__intro-image img {
  width: 30vw;
  max-width: 420px;
  height: auto;
  display: block;
}

.osi-ps__intro-description,
.osi-ps__result-model {
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.6;
}

.osi-ps__intro-actions {
  margin-top: 50px;
}

/* ==========================================================================
   Progress / Stepper
   ========================================================================== */

.osi-ps__progress {
  width: 100%;
  height: 6px;
  margin-bottom: 32px;
  background: #F0F0F1;
  overflow: hidden;
  border-radius: 999px;
}

.osi-ps__progress-bar {
  width: 0%;
  height: 100%;
  background: #111;
  transition: width 0.3s ease;
}

.osi-ps__stepper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  margin: 60px 0;

  &:before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #F0F0F1;
    position: absolute;
    left: 0;
    top: 35px;
  }
}

.osi-ps__stepper-item {
  min-width: 0;
  text-align: center;
}

.osi-ps__stepper-top {
  display: flex;
  align-items: center;
}

.osi-ps__stepper-circle {
  width: 74px;
  height: 74px;
  min-width: 74px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e1e1e1;
  background: #ffffff;
  color: #666;
  font-size: 1.25rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.osi-ps__stepper-line {
  height: 2px;
  flex: 1;
  background: transparent;
}

.osi-ps__stepper-label {
  margin-top: 14px;
  font-size: 16px;
  text-align: center;
  color: #707070;
}

.osi-ps__stepper-check {
  width: 28px;
  height: 28px;
}

.osi-ps__stepper-item.is-done .osi-ps__stepper-circle {
  background: #f26522;
  border-color: #f26522;
  color: #fff;
}

.osi-ps__stepper-item.is-current .osi-ps__stepper-circle {
  background: #bfc3c8;
  border-color: #f26522;
  color: #4b4f56;
  transform: scale(1.2);
}

.osi-ps__stepper-item.is-current .osi-ps__stepper-label {
  font-weight: 600;
  color: #4b4f56;
}

.osi-ps__stepper-item.is-upcoming .osi-ps__stepper-circle {
  background: #ffffff;
  border-color: #ffffff;
  color: #777;
  transform: scale(0.9);
  transition: 0.4s transform ease-in;
}

.osi-ps__stepper-item.is-upcoming .osi-ps__stepper-label {
  color: #666;
}

/* ==========================================================================
   Grids
   ========================================================================== */

.osi-ps__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.osi-ps__grid--single,
.osi-ps__grid--1 {
  grid-template-columns: 1fr;
}

.osi-ps__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.osi-ps__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  
}

/* ==========================================================================
   Cards
   ========================================================================== */

.osi-ps__card {
  width: 100%;
  padding: 0;
  border: 1px solid #707070;
  cursor: pointer;
  background: #F0F0F1;
  text-align: left;
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;

  &.osi-ps__mediacard {
    border: 0;
    border-radius: 0;
    background-color: transparent;

    &.is-selected {
      border: 0;
      background-color: transparent;

      .osi-ps__mediacard-head {
        border: 1px solid #F15A22;
        background-color: #BFC1C3;
      }
    }

    .osi-ps__card-main {
      padding: 0;
      flex-direction: column;
    }

    .osi-ps__mediacard-image {
      width: 150px;
      height: 150px;
      display: block;
      position: relative;
      border-radius: 200px;
      border: 2px solid #F15A22;
      overflow: hidden;
      position: relative;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        position: absolute;
        left: 0;
        top: 0;
      }
    }

    .osi-ps__mediacard-body {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .osi-ps__mediacard-head {      
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 15px 25px 15px 35px;
      border: 1px solid #707070;
      cursor: pointer;
      background: #F0F0F1;
      border-radius: 12px;
      margin: 30px 0 20px;
    }

    .osi-ps__card-description {
      text-align: center;
      line-height: 1.3;
    }
  }
}

.osi-ps__card:hover {
  border-color: #F15A22;
}

.osi-ps__card:hover .osi-ps__card-toggle-circle {
  transform: scale(1.04);
}

.osi-ps__card.is-selected {
  border-color: #f26522;
  box-shadow: none;
  transform: none;
  background-color: #BFC1C3;
}

.osi-ps__card-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 25px 15px 35px;
  height: 100%;
}

.osi-ps__card-content {
  flex: 1;
  min-width: 0;
}

.osi-ps__card-image {
  margin-bottom: 16px;
}

.osi-ps__card-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.osi-ps__card-title {
  margin-bottom: 0;
  font-size: 22px;
  font-weight: 600;
  color: #50555B;
  text-transform: initial;
  margin-right: 10px;
}

.osi-ps__card-description {
  font-size: 18px;
  line-height: 1.2;
  color: #666;
  text-transform: initial;
}

.osi-ps__card-toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.osi-ps__card-toggle-circle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 999px;
  border: 2px solid #50555B;
  background: #F0F0F1;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.osi-ps__card-toggle-check {
  width: 22px;
  height: 22px;
}

.osi-ps__card.is-selected .osi-ps__card-toggle-circle {
  background: #f26522;
  border-color: #f26522;
  color: #fff;
}

/* ==========================================================================
   Double groups
   ========================================================================== */

.osi-ps__double-group {
  margin-bottom: 60px;
}

.osi-ps__double-group:first-child {
  margin-top: 0;
}

.osi-ps__double-group + .osi-ps__double-group {
  margin-top: 32px;
}

.osi-ps__double-group-title {
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}

.osi-ps__double-group-desc {
  font-size: 16px;
  margin-top: 8px;
  font-weight: normal;
  line-height: 1.2;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.osi-ps__btn {
  appearance: none;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 7px;
  padding: 8px 12px 10px;
  font-weight: 600;
  background: #f0f0f0;
  color: #706f72;
  font-family: 'Source Sans Pro';
  cursor: pointer;
  transition: opacity .25s ease, transform .25s ease;
  text-transform: initial;

  &:hover {
    opacity: 0.5;
  }

  svg {
    width: 15px;
    height: auto;
    margin-left: 10px;
    transform: translateY(2px);
  }

  &.big {
    font-size: 20px;
    padding: 12px 16px 14px;

    svg {
      width: 20px;
      transform: translateY(4px);
    }
  }
}

.osi-ps__btn[disabled],
.osi-ps__btn--primary[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.osi-ps__btn--primary {
  background: #f15a21;
  color: #fff;
}

.osi-ps__btn--secondary {
  background-color: #F0F0F1;
  color: #707070;
}

.osi-ps__btn--ghost {
  background-color: #DCDDDF;
  color: #50555B;
}

.osi-ps__btn--secondary,
.osi-ps__btn--ghost {
  color: #50555B;
  font-weight: 600;
}

.osi-ps__btn--icn {
  display: flex;
  align-items: center;

  svg {
    margin-left: 0;
    margin-right: 10px;
    margin-top: -5px;
  }
}

.osi-ps__btn.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  visibility: hidden;
}

/* ==========================================================================
   Footer navigation
   ========================================================================== */

.osi-ps__footer {
  display: flex;
  gap: 12px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #DCDDDF;

  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

.osi-ps:not(.is-intro) .osi-ps__footer {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.osi-ps__footerright {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;

  .osi-ps__btn.big {
    svg {
      transform: none;
    }
  }
}

/* ==========================================================================
   States
   ========================================================================== */

.osi-ps__loading,
.osi-ps__error,
.osi-ps__empty {
  padding: 32px 0;
}

/* ==========================================================================
   Loading
   ========================================================================== */

.osi-ps__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 32px 0;
  color: #f15a21;
}

.osi-ps__loading-cog {
  width: 72px;
  height: 72px;
  display: block;
}

.osi-ps__loading-cog .spinning-cog4425 {
  transform-origin: 50% 50%;
  animation: spinning-cog4425 1.3s infinite linear;
}

@keyframes spinning-cog4425 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Results
   ========================================================================== */
.osi-ps__result-header {
  text-align: center;

  h2 {
    margin-top: 30px;
  }

  .osi-ps__result-icon {
    width: 50px;
    height: 50px;
    background-color: #F15A22;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 200%;
    margin: 0 auto;

    svg {
      path {
        stroke: #fff;
      }
    }
  }

  .osi-ps__title {
    font-size: 48px;
    margin-bottom: 0;
    margin-top: 45px;

    &:after {
      content: '';
      display: block;
      background-color: #F15A22;
      width: 85px;
      height: 1px;
      margin: 20px auto;
    }
  }

  .osi-ps__result-intro {
    font-size: 18px;
  }
}

.osi-ps__result-hero {
  border: 2px solid #F15A22;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  padding: 40px;
  margin-top: 30px;
  overflow: hidden;

  .osi-ps__result-model {
    font-size: 42px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
  }
}

.osi-ps__result-model-image {
  padding: 0 30px;
  
  img {
    margin: 0 auto;
    display: block;
    width: 500px;
    max-width: 100%;
  }
}

.osi-ps__result-panel {
  border-left: 2px solid #F15A22;
  border-right: 2px solid #F15A22;
  padding: 0 40px;
  overflow: hidden;
  padding: 30px 45px 0 30px;

  &:last-of-type {
    border-bottom: 2px solid #F15A22;
    border-radius: 0 0 12px 12px;
  }
}

.osi-ps__result-panelborder {
  border-radius: 0 0 12px 12px;
  border-bottom: 2px solid #F15A22;
  border-left: 2px solid #F15A22;
  border-right: 2px solid #F15A22;
  width: 100%;
  height: 45px;
}

.osi-ps__result-panelwrap {
  background-color: #F0F0F1;
  border-radius: 12px;
  padding: 30px 45px;

  .osi-ps__result-panel-title {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 24px;
    color: #F15A22;
    margin-top: 0;
    margin-bottom: 30px;
  }

}

.osi-ps__result-selections {
  display: flex;
  flex-wrap: wrap;
}

.osi-ps__result-selection-item {
  width: 50%;
  margin-bottom: 25px;

  .osi-ps__result-selection-label {
    font-size: 20px;
    font-weight: bold;
  }

  .osi-ps__result-selection-value {
    font-size: 24px;
    font-weight: normal;
    margin-top: 8px;
  }
}

.osi-ps__result-selection-subitem {
  display:flex;
  flex-wrap: wrap;

  .osi-ps__result-selection-sublabel {
    margin-right: 8px;

    &:after {
      content:' / ';
    }
  }

  .osi-ps__result-selection-subvalue, .osi-ps__result-selection-description {
    /*font-size: 16px;*/
  }

}

.osi-ps__result-footer {
  display: flex;
  justify-content: space-between;
  padding: 60px 0;
}

/* Techninal */
.osi-ps__result-tech-grid {

}

.osi-ps__result-tech-item {
  margin-bottom: 30px;

  .osi-ps__result-tech-label {
    font-size: 22px;
    font-weight: bold;
  }

  .osi-ps__result-tech-value {
    font-size: 22px;
  }
}

.osi-ps__result-footer-right {
  align-items: center;
  display: flex;

  button {
    border: 0;
    background-color: transparent;
    opacity: 1;
    cursor: pointer;
    transition: 0.25s opacity ease-in;
    padding: 0;

    &:hover {
      opacity: 0.5;
    }

    &:first-of-type {
      &:after {
        content: '';
        display: inline-block;
        width: 1px;
        height: 32px;
        background-color: #50555B;;
        margin: 0 20px 0 30px;
      }
    }

    &:last-of-type {
      margin-right: 0;
    }
  }
}

.osi-ps__screen--contact {

  h2.osi-ps__title {
    font-size: 42px;
    line-height: 1.2;
  }

  .osi-ps__group-header-desc {
    line-height: 1.3;
  }

  .osi-ps__group-header-content {
    max-width: 500px;
    margin-bottom: 60px;
    margin-top: 30px;
  }

  .osi-ps__result-panelwrap {
    background-color: transparent;
    border: 1px solid #F15A22;

    .osi-ps__result-panel-title {
      text-align: center;
      color: #707070;
      font-weight: bold;
      text-transform: none;
      font-size: 36px;
    }
  }

  input[type="text"], input[type="email"] {
    width: 100%;
    background-color: #F0F0F1;
    color: #707070;
    font-family: 'Source Sans Pro';
    border: 0;
    font-size: 18px;
    padding: 10px 20px;
  }

  input[type="submit"] {
    appearance: none;
    display: flex;
    align-items: center;
    border: 0;
    border-radius: 7px;
    padding: 12px 18px 14px;
    font-weight: 600;
    background: #f15a21;
    color: #fff;
    font-size: 20px;
    font-family: 'Source Sans Pro';
    cursor: pointer;
    transition: opacity .25s ease, transform .25s ease;

    &:hover {
      opacity: 0.5;
    }
  }

  textarea {
    width: 100%;
    resize: none;    
    background-color: #F0F0F1;
    color: #707070;
    font-family: 'Source Sans Pro';
    border: 0;
    font-size: 18px;
    padding: 10px 20px;
  }

  label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    display: block;
  }
  /* CF7 */
  .wpcf7-list-item {
    display: block;
    margin-bottom: 10px;
  }

  .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 10px;
  }

  /* CACHE INPUT NATIF */
  .wpcf7-list-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  /* BASE VISUEL (radio + checkbox) */
  .wpcf7-list-item-label {
    position: relative;
    padding-left: 32px;
    color: #50555B;
    line-height: 1.4;
    font-weight: 400;
  }

  /* BULLE */
  .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;

    width: 18px;
    height: 18px;

    border: 2px solid #F15A22;
    border-radius: 50%; /* radio par défaut */

    background: transparent;
    transition: all 0.2s ease;
  }

  /* CHECKBOX → carré */
  .wpcf7-acceptance .wpcf7-list-item-label::before {
    border-radius: 4px;
  }

  /* ÉTAT ACTIF */
  .wpcf7-list-item input:checked + .wpcf7-list-item-label::before {
    background: #F15A22;
  }

  /* HOVER (optionnel mais nice) */
  .wpcf7-list-item label:hover .wpcf7-list-item-label::before {
    transform: scale(1.05);
  }

  /* FOCUS ACCESSIBILITÉ */
  .wpcf7-list-item input:focus + .wpcf7-list-item-label::before {
    outline: 2px solid rgba(241, 90, 34, 0.3);
    outline-offset: 2px;
  }

  .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;

    .wpcf7-list-item {
      width: calc(100% / 3);
      margin-left: 0;
    }
  }

  .wpcf7-acceptance {
    .wpcf7-list-item {
      width: 100%;
      margin-left: 0;
    }
  }
}

/* o-layout */
.o-layout {
  display: flex;
  margin: 0 -15px;
  flex-wrap: wrap;
}

.o-layout_item {
  padding: 0 15px;

  &.u-1\/1 {
    width: 100%;
  }

  &.u-1\/2 {
    width: 50%;
  }
}

/* Footer contact */
.osi-ps__contact-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;

  h2 {
    text-align: center;
    color: #F15A22;
    font-size: 20px;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 45px!important;
  }

  .osi-ps__contact-footer-text {
    width: calc(100% / 3);
    text-transform: uppercase;
    color:#707070;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-weight: bold;

    &:nth-child(3) {
      border-left: 1px solid #F15A22;
      border-right: 1px solid #F15A22;
    }

    img {
      max-width: 85%;
      height: auto;
      margin: 15px 0;
    }
  }
}


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

@media (max-width: 1000px) {
  .osi-ps__head {
    flex-direction: column;

    div {
      &:first-of-type {
        order: 2;
        justify-content: center;
      }

      &:last-of-type {
        padding-left: 0;
        margin-bottom: 30px;
      }
    }
  }
}

@media (max-width: 1100px) {
  .osi-ps__stepper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 24px;
  }
}

@media (max-width: 991px) {
  .osi-ps__grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .osi-ps__grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .osi-ps__stepper-label {
    display: none;
  }

  .osi-ps__footer {
    flex-wrap: wrap;

    .osi-ps__btn {
      width: auto;

      &.osi-ps__btn--secondary {
        order: 1;
      }

      &.osi-ps__btn--ghost {
        margin: 30px auto 30px 0;
      order: 3;
      }
    }

    button[data-action="prev"] {
      font-size: 0;

      svg {
        margin-right: 0;
      }
    }

    button[data-action="restart"] {
      width: 100%;
      margin: 30px auto;
      justify-content: center;
    }

    .osi-ps__footerright {
      order: 1;
      width: 40%;

      .osi-ps__btn {
        margin-left: auto;
        margin-right: 0;
      }
    }
  }
}

@media (max-width: 767px) {
  .osi-ps__title {
    font-size: 1.5rem!important;
  }

  .osi-ps__result-intro {
    font-size: 16px;
  }

  .osi-ps__result-panel {
    padding: 15px 23px 0 15px;
  }

  .osi-ps__result-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  
    .osi-ps__result-footer-left{
      margin-bottom: 30px;
    }
  }

  .osi-ps__result-panelwrap {
    padding: 15px 23px;
  }

  .osi-ps__result-model {
    font-size: 32px;
  }

  .osi-ps__result-selections {
    flex-direction: column;

    .osi-ps__result-selection-item {
      width: 100%;
    }
  }

  .osi-ps__result-selection-item {
    .osi-ps__result-selection-value {
      font-size: 18px;
    }
  }

  .osi-ps__result-tech-item {
    .osi-ps__result-tech-label {
      font-size: 18px;
    }
  }

  .osi-ps__card-title {
    font-size: 18px;
  }

  .osi-ps__card-description {
    font-size: 16px;
  }

  .osi-ps__card-main {
    padding: 10px 15px 10px;
  }

  .osi-ps__head {
    flex-direction: column;

    div {
      &:first-of-type {
        display: flex;
        flex-direction: column;

        img {
          padding-right: 0;
          border-right: 0;
          margin-right: 0;
          width: 120px;
          margin-bottom: 15px;
        }
      }
    }
  }

  .osi-ps__grid,
  .osi-ps__grid--1,
  .osi-ps__grid--2,
  .osi-ps__grid--3 {
    grid-template-columns: 1fr;
  }

  .osi-ps__stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    &:before {
      top: 13px;
    }
  }

  .osi-ps__stepper-circle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 12px;
  }
}


@media (max-width: 600px) {
    .osi-ps__screen--contact {
      .wpcf7-radio {
        .wpcf7-list-item {
          width: 100%;
        }
      }
    }

    .osi-ps__contact-footer {
      .osi-ps__contact-footer-text {
        width: 100%;
      }
    }
}