.configurator {
    margin-top: -40px;
}
.box{
    padding: 15px 10px;
    background-color: #fff;
    z-index: 0;
    border-radius: 12px;
    box-shadow: 0 0 20px #00000040;
    overflow: auto;
}
.steps {
    padding: 15px 20px;
}
.progress-container {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    background-color: #fff;
    z-index: 0;
}
.progress-container::before {
  content: ''; /* must be added when using the ::before pseudoselector */
  background-color: var(--border-color);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%); 
  height: 4px;
  width: 100%;
  z-index:-1;
}
.progress {
  background-color: var(--main-color);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%); /* centers the line vertically along the y-axis */
  height: 4px;
  width: 0%;
  z-index:-1;
  transition: .4s ease;
}
.step {
  background-color: #fff;
  color: var(--third-color);
  border-radius: 50%;
  height: 70px;
  width: 70px;
  border: 3px solid var(--third-color);
  transition: .4s ease;
  cursor: pointer;
  overflow: hidden;
}
.step.active {
  border-color: var(--main-color);
  color: var(--main-color);
}
.step svg {
    width: 28px;
    height: 28px;
}
.step small {
    font-size: 12px;
}
.step.active.selected {
    background-color: var(--main-color);
    color: #fff;
}
.btn:focus {
  outline: 0;
}
.btn:disabled {
    background-color: var(--border-color);
    color: var(--third-color);
}

.box h3 {
    color: var(--main-color);
}
.config-step-head {
    background-color: var(--main-color);
    color: #fff;
}
.config-step {
    border-radius: 12px;
    margin-top: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0px 4px 10px #0000001f;
}
.config-product {
    width: calc(100% - 30px);
}
.config-product img {
    border-radius: 12px;
    object-fit: cover;
    width: 60px;
    height: 60px;
}
.config-product span {
    color: var(--main-color);
}
.config-product h6 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.remove-item {
    position: relative;
    z-index: 9999;
}

.cartBottom {
    margin-top: 30px;
    padding: 20px 8px 5px 8px;
    border-top: 1px solid var(--border-color);
}
.configurator-sidebar {
    max-width: 80%;
    visibility: visible !important;
}
.configurator-sidebar-toggle {
    position: absolute;
    top: 160px;
    left: 100%;
    z-index: 1;
    display: none;
    width: 40px;
    height: 40px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: 4px 1px 6px 0px rgb(23 76 255 / 38%);
    line-height: 38px;
    opacity: 1;
    -webkit-transition: all .1s linear .2s;
    -o-transition: all .1s linear .2s;
    transition: all .1s linear .2s;
    padding: 0px;
}

@media(max-width: 991.8px){
    .configurator-sidebar-toggle {
        display: block;
    }
}

@media(max-width: 768px){
    .configuration-bg {
        min-height: 250px;
    }
    .steps {
        padding: 10px;
        overflow: auto;
    }
    .step svg {
        width: 24px;
        height: 24px;
    }
    .step {
        height: 65px;
        width: 65px;
        min-width: 65px;
        border: 2px solid var(--third-color);
        margin-right: 16px;
    }
    .step:last-child {
        margin-right: 0;
    }
    .lead {
        font-size: 1rem;
        font-weight: 300;
    }
    .progress-container {
        width: var(--before-width);
    }
    .progress-container::before {
        width: var(--before-width, 100%);
    }
}

@media(max-width: 768px){
    .configurator .w-50{
        width: 100% !important;
        gap: 1rem !important;
    }
}