#konfigurator-root {
  font-family: sans-serif;
  padding: 24px 0;
}
.konfigurator-nav {
  max-width: 1300px;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.konfigurator-nav .step-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
}

.konfigurator-nav .step-nav h5{
  margin: 0;
  font-size: 16px;
  text-align: center;
}

.konfigurator-nav .step-nav p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 32px;
  border: 1px solid transparent;
  line-height: 24px;
  box-shadow: unset;
  background-color: #EFEFEF;
  justify-content: center;
  font-weight: 700;
  color: var(--wp--preset--color--light-gray);
  transition: all 0.3s ease;
  cursor: pointer;
}

.konfigurator-nav .step-nav.complete p{
  background: var(--wp--preset--color--primary-color);
  border: 1px solid var(--wp--preset--color--primary-color);
  color: inherit;
}

.konfigurator-nav .step-nav.active p {
  border: 1px solid var(--wp--preset--color--primary-color);
  box-shadow: 0px 0px 12px 0px var(--wp--preset--color--primary-color);
  color: inherit;
}

.konfigurator-body {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 24px;
}

.konfigurator-body h1,
.konfigurator-body h2,
.konfigurator-body h3:not(.form-title),
.konfigurator-body h5{
  margin: 24px 0 0 12px;
}

.konfigurator-body .conf-desc {
  margin-left: 12px;
}

.konfigurator-image,
.konfigurator-content-button {
  width: 50%;
  padding: 0 0.5rem;
  box-sizing: border-box;
  /* max-height: 60vh;
  overflow-y: auto; */
}

.konfigurator-image{
  position: sticky;
  top: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background-color: #ebebeb;
  border-radius: 24px;
}

.konfigurator-form{
  width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}


.konfigurator-image img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.konfigurator-body .options-header{
  margin-bottom: 64px;
}

.konfigurator-body .option-container{
  border-radius: 20px;
  transition: box-shadow 0.3s ease;
  padding: 12px;
  margin: 12px 0;
}

.konfigurator-body .option-box {
  --swiper-navigation-size: 24px;
  --swiper-navigation-color: #FABB1C;
  --swiper-navigation-sides-offset: 24px;
  position: relative;
  border: 1px solid #ABAFB6;
  box-shadow: 0px 0px 1px 0px #ABAFB6;
  padding: 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.konfigurator-body .option-box::after{
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='30' height='30' rx='3' stroke='%23FABB1C' stroke-width='2'/%3E%3Cpath d='M22.6673 10.667L13.5007 20.0003L9.33398 15.7579' stroke='%23FABB1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  background-size: contain;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.konfigurator-body .option-box.selected {
  border: 1px solid #FABB1C;
  box-shadow: 0px 0px 12px 0px var(--wp--preset--color--primary-color);
}

.konfigurator-body .option-box.selected::after{
  opacity: 1;
}

.konfigurator-body .option-box.locked {
  border: none;
}

.konfigurator-body .option-box .row{
	display: flex;
}

.konfigurator-body .option-box .col-6{
	font-size: 14px;
	flex: 0 0 50%;
    max-width: 50%;
}

.konfigurator-body .option-box .option-gallery-swiper{
  position: static;
}

.konfigurator-body .option-box .swiper-button-next,
.konfigurator-body .option-box .swiper-button-prev{
  font-weight: 700;
}

.konfigurator-body .option-box .option-image img,
.konfigurator-body .option-box .option-gallery-single img,
.konfigurator-body .option-box .swiper-slide img{
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.konfigurator-body .option-box .locked-info{
  display: flex;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 18px;
  border-radius: 20px;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  z-index: 11;
}


.konfigurator-body .option-box h5{
  margin: 0;
  margin-bottom: 1em;
}

.konfigurator-body .option-box ul {
  padding-left: 24px;
}

.konfigurator-body .option-box li {
  margin-bottom: 8px;
  text-align: left !important;
}

.konfigurator-body .summary-list{
  line-height: 24px;
}

.konfigurator-body #konf-next{
  transition: opacity 0.3s ease;
  opacity: 1;
  white-space: nowrap;
  z-index: 1;
  width: fit-content;
  margin: 0 auto;
}

.konfigurator-body #konf-next.disabled {
  opacity: 0.5;
}

@media (max-width: 781px) {
  .konfigurator-content-button {
    width: 100%;
  }
  .konfigurator-nav {
    padding-left: 0;
    padding-right: 0;
    /* margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
    margin-right: calc(var(--wp--style--root--padding-right) * -1) !important; */
  }
  .konfigurator-body{
    flex-direction: column;
  }
  .konfigurator-image{
    position: static;
    aspect-ratio: unset;
    height: 240px;
    /* margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
    margin-right: calc(var(--wp--style--root--padding-right) * -1) !important; */
    width: auto;
    overflow: unset;
    margin-bottom: 24px;
    margin-top: 24px;
  }
  
  .konfigurator-body .option-box::after{
    right: 12px;
    top: 12px;
    width: 16px;
    height: 16px;
  }

  .konfigurator-body .option-container{
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
  }
  .konfigurator-body .option-box{
    padding: 12px;
  }
  /*.konfigurator-body #konf-next{
    position: fixed;
    right: 50%;
    bottom: 40px;
  }*/
}